From ligges@statistik.uni-dortmund.de  Mon Jul  9 11:57:31 2001
From: ligges@statistik.uni-dortmund.de (Uwe Ligges)
Date: Mon, 09 Jul 2001 12:57:31 +0200
Subject: [Rd] read.spss, R 1.3.0, win2k
References: <Pine.A41.4.33.0107061029100.90366-100000@homer38.u.washington.edu> <3B461C14.442BB907@statistik.uni-dortmund.de>
Message-ID: <3B498E1B.CEFB928@statistik.uni-dortmund.de>

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:

  read.spss("c:/test.sav")

$VAR00001
[1] 2 3

$VAR00002
[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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] read.spss, R 1.3.0, win2k
Uwe Ligges