Have you tried read.dta?
The URL on the help page for read.dta now says 'Stata 11 help for
dta', but it seems to document the same format (114) as Stata 10 (see
the value section). So in so far as Stata is telling us, it looks
like Stata 10 and 11 use the same format (as Stata 8 and 9 did).
On Wed, 16 Dec 2009, David Scott wrote:
I have a client who uses Stata 11.
Can anyone advise me on ways of transferring data from this version of Stata
to R?
Reading the documentation for read.dta in package foreign it seems it only
allows for versions up to Stata 10. I don't know Stata at all but a bit of
poking around on their website led me to believe Stata 11 couldn't write in
Stata 10 format. However Stata 11 can write Excel files in XML, so presumably
.xlsx files.
I suspect it can write .csv files. See for example
http://www.stata.com/help.cgi?outsheet
Any advice, correction of my misconceptions, etc. gladly received.
David Scott
_________________________________________________________________
David Scott Department of Statistics
The University of Auckland, PB 92019
Auckland 1142, NEW ZEALAND
Phone: +64 9 923 5055, or +64 9 373 7599 ext 85055
Email: d.sc...@auckland.ac.nz, Fax: +64 9 373 7018
Director of Consulting, Department of Statistics
--
Brian D. Ripley, rip...@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
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.