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.