Skip to content
Prev 24904 / 398502 Next

R: Use of the Foreign package to import Stata files

Hi,

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?

TIA,

Bill Hart
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._