[R] read.dta for files from stata 9.0

K. Elo maillists at nic.fi
Tue Mar 18 15:33:02 CET 2008


Hi,

Albrecht Kauffmann wrote (18.03.2008):
> Dear R-helpers,
>
> if I want to read a .dta-file generated by stata 9.0 with read.dta
> (foreign), I get the message
> "not a stata version 5-8 .dta-file". I'm using R-2.6.2 and the latest
> version of the foreign package. Has someone any hint?

Seems quite obvious to me: "not a stata version 5-8" means, that the 9.0 
version is not supported. So You should save the file in stata ver. 8 
format and then give a new try.

Hope this helps,
Kimmo



More information about the R-help mailing list