Re: [Rd] importing explicitly declared missing values in read.spss (foreign)

2008-08-05 Thread Jeroen Ooms
First of all, apologies if you feel misquoted, I was only trying to keep things clear. Now, I have installed and tried the new version of the package and it works perfectly. It does exactly what it should do. I tested it on some huge SPSS's sample files which contained a lot of variables with seve

Re: [Rd] importing explicitly declared missing values in read.spss (foreign)

2008-08-04 Thread Prof Brian Ripley
I've put up an experimental version at http://www.stats.ox.ac.uk/pub/R/foreign_0.8-28.1.tar.gz See the new 'use.missings' argument. It does what I think should happen in your example and the other one I tried, but more experience would be helpful. On Mon, 4 Aug 2008, Jeroen Ooms wrote: Please

Re: [Rd] importing explicitly declared missing values in read.spss (foreign)

2008-08-04 Thread Jeroen Ooms
Prof Brian Ripley wrote: > >>From the messages you get I do not believe this is a recent version of read.spss (message 2 no longer appears)... I am sorry you are right here, I was using an outdated version of foreign. I have updated my packages. My current version is now R version 2.7.1 (2008-

Re: [Rd] importing explicitly declared missing values in read.spss (foreign)

2008-08-03 Thread Prof Brian Ripley
From the messages you get I do not believe this is a recent version of read.spss (message 2 no longer appears), and you haven't followed the posting guide and told us. However, your message 3 does still appear, and that might be significant. A small anount of googling came up with https://st

[Rd] importing explicitly declared missing values in read.spss (foreign)

2008-08-01 Thread Jeroen Ooms
There is a problem when importing an spss-file containing explicitly declared missing values in R using the read.spss function from the foreign package. I'm not sure these problems are the same in every version of spss, I am using the latest version 16.0.2. I included http://www.nabble.com/file/