Skip to content

Can't read foreign datasets

2 messages · FRohde@birchdavis.com, Brian Ripley

#
R-Team:

I am having difficulty reading a SAS transport or an SPSS portable file in
Windows (Windows 2000) using the 1.2.0 version of foreign.  I had been able to
read them in the 1.0 versions of R.  When I try, I get an unknown error and R
shuts down.  The lookup.xport(fileName) command seems to work -- the number of
variables and rows as reported by lookup.xport are correct.  But when I use
read.xport or read.spss, R generates a popup box on the screen saying "Rgui.exe
has generated errors and will be closed by Windows".

Any help would be appreciated.

Fred Rohde

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Mon, 22 Jan 2001 FRohde at birchdavis.com wrote:

            
Does example(read.spss) work?  It does for me.  You do have the current
versions of R and foreign, do you?  Please check (there is no `1.2.0
version of foreign': it is 0.2-6).