Execure R scripting and R Desktop output varies


Executing a model with Execute R Script in Azure ML produces a different result compared to R desktop (R 4.1.0)
Here are step I followed
a. With Azure ML studio ,Imported the 2 data sets Testb.csv and Testc,csv
and using the 2 datasets , executed the R script ( see AzureMLR.txt)
and executed the almost same script in R Desktop ( except i had to read from csv files instead from the ports) ( see RDesktopcode.txt)

I see a big difference in output produced by both
Refer this snapshot where one on left is from AzureML and right is R Desktop

You may to rename testb.txt and textc.txt as csv files to use them . I could not upload csv files so changed to txt files


Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,561 questions
{count} votes