You need a full name in quotes: auto <- read.dta("C:/Stata10/ado/base/a/auto.dta")
works just fine on my computer. On 4/14/09, Dwayne Blind <dwaynebl...@gmail.com> wrote: > Dear R users, > > I am trying to import a table from STATA, a dta file. > > With a table called "table", this is what I do : > > library("foreign") > read.dta(table) > > It does not work. What am I doing wrong ? > > Best Regards, > Dwayne > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. > -- Stas Kolenikov, also found at http://stas.kolenikov.name Small print: I use this email account for mailing lists only. ______________________________________________ R-help@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.