[R] R data opening problem
Alla Manukyan
allamanuk at yahoo.com
Sun Oct 3 04:01:42 CEST 2010
Dear Sir/Madam,
I have just installed R for Windows. I am trying to open a stata file and I have
a problem. I have used the following commands:
> install.packages("foreign")
> library(foreign)
> data.name <- read.dta(file.choose())
# then I choose a kelleya.dta file and click on open and then I use the
following command:
> summary(kelleya)
Error in object[[i]] : object of type 'closure' is not subsettable
I have also used opening an spss file using read.spss command but I get the same
error message. Can you help me please?
Alla
More information about the R-help
mailing list