Re: [R] read.dta for files from stata 9.0

2008-03-18 Thread Stefan Grosse
On Tuesday 18 March 2008 05:39:10 pm Prof Brian Ripley wrote: PB> According to http://www.stata.com/help.cgi?dta, Stata now writes in PB> 'format-114'. read.dta expects only versions 113, 111 and earlier. PB> There is very little difference between formats 113 and 114, so it should PB> be easy to

Re: [R] read.dta for files from stata 9.0

2008-03-18 Thread Stefan Grosse
On Tuesday 18 March 2008 05:39:10 pm Prof Brian Ripley wrote: PB> Did you check the sources? The source for read.dta explicitly checks for PB> VERSION_5 ... VERSION_8 and otherwise says PB> PB> "not a Stata version 5-8 .dta file" No, I did not check the sources, but I checked the help file and th

Re: [R] read.dta for files from stata 9.0

2008-03-18 Thread Prof Brian Ripley
On Tue, 18 Mar 2008, Stefan Grosse wrote: > On Tuesday 18 March 2008 03:33:02 pm K. Elo wrote: > KE> Seems quite obvious to me: "not a stata version 5-8" means, that the 9.0 > KE> version is not supported. So You should save the file in stata ver. 8 > KE> format and then give a new try. > KE> > KE

Re: [R] read.dta for files from stata 9.0

2008-03-18 Thread Stefan Grosse
On Tuesday 18 March 2008 03:33:02 pm K. Elo wrote: KE> Seems quite obvious to me: "not a stata version 5-8" means, that the 9.0 KE> version is not supported. So You should save the file in stata ver. 8 KE> format and then give a new try. KE> KE> Hope this helps, No. I have stata 9.2 and the data i

Re: [R] read.dta for files from stata 9.0

2008-03-18 Thread K. Elo
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

[R] read.dta for files from stata 9.0

2008-03-18 Thread Albrecht Kauffmann
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? With many thanks, Albrecht _