[R] Importing data from stata.
Uwe Ligges
ligges at statistik.tu-dortmund.de
Mon Apr 16 15:07:03 CEST 2012
On 16.04.2012 12:56, Søren Andersen wrote:
>
> Hi everyone!
>
> I am very new at R. I am trying to import a data file from stata to R on a Macintosh system ? When I use the foreign function read.dta it says:
>
>
>
You forgot to load foreign:
library("foreign")
Uwe Ligges
>
>
>
>
> Error: could not find function "read.dta"
>
> p
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list