[Rd] read.spss, R 1.3.0, win2k
Peter Dalgaard BSA
p.dalgaard@biostat.ku.dk
09 Jul 2001 16:07:34 +0200
Uwe Ligges <ligges@statistik.uni-dortmund.de> writes:
> 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
I think this is the difference between foreign_0.4-4 and -5, but not
likely the issue that Thomas had.
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._