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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Can't read foreign datasets
2 messages · FRohde@birchdavis.com, Brian Ripley
On Mon, 22 Jan 2001 FRohde at birchdavis.com wrote:
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.
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).
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._