[R] read.spss trouble

Kevin Wang Kevin.Wang at maths.anu.edu.au
Sat May 28 15:31:25 CEST 2005


Hi Martin,

Martin Klaffenboeck wrote:
> Hello!
> 
> I'm not sure if this is an german list, so I will post in english.

It's an English list.

> I'm using R on my gentoo linux and now I got an spss .sav file.  I found
> that r has a function like read.spss("file.sav") but when I try this I
> get the Error: couldn't find function "read.spss".  Can anyone tell me
> what's going wrong?

It's in the package "foreign".  Try:
   library(foreign)

HTH,

Kevin

-- 
Ko-Kang Kevin Wang
PhD Student
Centre for Mathematics and its Applications
Building 27, Room 1004
Mathematical Sciences Institute (MSI)
Australian National University
Canberra, ACT 0200
Australia

Homepage: http://wwwmaths.anu.edu.au/~wangk/
Ph (W): +61-2-6125-2431
Ph (H): +61-2-6125-7407
Ph (M): +61-40-451-8301




More information about the R-help mailing list