Displaying 1 result from an estimated 1 matches for "rw1030library".
2001 Jul 12
1
Importing STATA files
...1030\library\base\data".
The following is what happened:
> library(foreign)
> read.dta(auto6)
Error in read.dta(auto6) : Object "auto6" not found
So I tried:
> read.dta("C:\Program Files\R\rw1030\library\base\data\auto6")
Error in read.dta("C:Program FilesR\rw1030library\basedata") :
unable to open file
The same thing happens if I put the STATA file in various other directories
that I suspect "foreign" might treat as the working directory, all to no
avail.
Any help would be gratefully received.
Brendan McElroy
HRB Health Services Research...