Re: [R] R data opening problem

2010-10-02 Thread Jeffrey Spies
If I understand your problem correctly, I think you need to be doing: summary(data.name) The functions read.dta and read.spss both return things (data frames, if you use the to.data.frame=T argument with read.spss). So whatever variable you set is what you should be doing a summary on. In this

Re: [R] R data opening problem

2010-10-02 Thread Joshua Wiley
Hi Alla, The error message suggests that "kelleya" is a function. What happens when you type: str(kelleya) ? Josh On Sat, Oct 2, 2010 at 7:01 PM, Alla Manukyan wrote: > 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

[R] R data opening problem

2010-10-02 Thread Alla Manukyan
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