I tried following code in Rstudio, and got NULL.
> hospital <- get(load('C:/Users/Lenovo/Desktop/HOSPITAL.DAT.rdata'))
> hospital
NULL
But if I tried this one, I got what I want.
load('C:/Users/Lenovo/Desktop/HOSPITAL.DAT.rdata')
then hospital consists of 25 obs, 9 variables.
So why read.table() goes wrong here?
hospital<-read.table("C:/Users/Lenovo/Desktop/HOSPITAL.DAT.rdata")
then hospital consists of 394 obs, 1 variable.