[R] read.dta()

Christopher W. Ryan cryan at binghamton.edu
Fri Sep 6 05:37:37 CEST 2013


I don't know about 3.0.1, but the 2.15.x that I'm still using requires
the foreign package--that's where the read.dta command resides.

library(foreign)

--Chris Ryan
SUNY Upstate Medical University
Binghamton, NY USA



Debasish Roy wrote:
> I've been using R 3.0.1 version. I tried to read a file named  abc.dta() 
> 
> I used the command  X <- read.dta("abc.dta") and it gave me             Error: could not find function "read.dta"
> 
> Can anyone help me what could be the problem and how to fix it ? 
> 
> 
> 
> Thanks, Deb.
> 	[[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