Re: [R] read.spss function

2012-06-25 Thread peter dalgaard
On Jun 25, 2012, at 12:30 , Jim Holtman wrote: > you have to load the 'foriegn' package first. > 'foreign' works better > Sent from my iPad ...with spellcheck disabled, it seems ;-) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Freder

Re: [R] read.spss function

2012-06-25 Thread Jim Holtman
you have to load the 'foriegn' package first. Sent from my iPad On Jun 25, 2012, at 5:12, niloo javan wrote: > Hi dear all, > I am trying to import a dataset from SPSS into R (R x64 2.15.0). > I used both > read.spss("D:/Untitled2.sav", use.value.labels = TRUE, to.data.frame = TRUE, > max.va

[R] read.spss function

2012-06-25 Thread niloo javan
Hi dear all, I am trying to import a dataset from SPSS into R (R x64 2.15.0). I used both   read.spss("D:/Untitled2.sav", use.value.labels = TRUE, to.data.frame = TRUE, max.value.labels = Inf, trim.factor.names = FALSE,trim_values = TRUE, reencode = NA, use.missings = to.data.frame) & read.spss("D