Unable to read Boston as a dataset in r

r

#1

After running this command:
fix(Boston)
The output I am getting is:
function ()
{
}
Please help me fix this issue,


#2

Hi @Neha_Koppikar you can simply read the Boston dataset by using the following code:

library(MASS)
df = Boston

#3

Thanks a lot!


#4

Thanks a lot @pjoshi15.


#5

Hello, if anyone else is facing a similar issue even after loading the MASS library, try removing all the existing objects. This option is to the right side of ‘Import Dataset’ option. Its icon is very tiny.