[Rd] read.spss, R 1.3.0, win2k

Uwe Ligges ligges@statistik.uni-dortmund.de
Mon, 09 Jul 2001 12:57:31 +0200

Thomas Lumley wrote:
> read.spss() is giving "Rgui.exe has generated errors and will be
> closed..." on all the files I have tried (the same happens with Rterm as
> well). This is R1.3.0 and the current `foreign',under Win2k.
> The problem doesn't happen under Linux on a different machine and
> didn't happen with an earlier version of R and foreign under NT4 on a
> different machine.
> As I updated to a new computer, new OS and new version of R at the same
> time I don't know which component is responsible. Has anyone used
> read.spss() with R 1.3.0 under Windows?

[R-1.3.0, foreign_0.4-4, WinNT 4.0]

A generated test file in SPSS 10, containing a  "matrix(c(2,3,3,5),
ncol=2)", can be read in:


[1] 2 3

[1] 3 5

But trying to read a non existant file crashes R on my machine:

  read.spss("c:/nonexistant.abc")  # R crashes

Uwe Ligges
r-devel 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-devel-request@stat.math.ethz.ch