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 ______________________________________________ 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.