From p.dalgaard@biostat.ku.dk  Mon Jul  9 15:07:34 2001
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 09 Jul 2001 16:07:34 +0200
Subject: [Rd] read.spss, R 1.3.0, win2k
In-Reply-To: Uwe Ligges's message of "Mon, 09 Jul 2001 12:57:31 +0200"
References: <Pine.A41.4.33.0107061029100.90366-100000@homer38.u.washington.edu> <3B461C14.442BB907@statistik.uni-dortmund.de> <3B498E1B.CEFB928@statistik.uni-dortmund.de>
Message-ID: <x2bsmuci1l.fsf@blueberry.kubism.ku.dk>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] read.spss, R 1.3.0, win2k
Peter Dalgaard BSA