Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.A41.4.44.0211021827110.88050-100000@homer36.u.washington.edu>
Date: 2002-11-03T02:36:57Z
From: Thomas Lumley
Subject: R:  Use of the Foreign package to import Stata files
In-Reply-To: <20021102193630.2650.qmail@web80102.mail.yahoo.com>

On Sat, 2 Nov 2002, William Hart wrote:

> An R newbie here.  I am using R 1.6 currently and have
> (successfully, I think) installed the Foreign package.
>  Tried to import a data file created with Stata 7.0
> SE.  Had minor problems with syntax then R decided
> that my file was not really a Stata file.  It rejected
> the file saying 'Not created by Stata 5-7/SE'.  Any
> suggestions on how to convince R that this is really,
> truly a Stata file?
>

You need the version of read.dta that I wrote yesterday after finally
obtaining some 7/SE datasets for debugging.  If you can compile packages
then I can send you the code, otherwise you will have to wait for the next
version of the foreign package.

	-thomas



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._