[R] read.spss (package foreign) and SPSS 15.0 files

Charilaos Skiadas skiadas at hanover.edu
Sun Apr 15 01:57:55 CEST 2007


On Apr 14, 2007, at 7:06 AM, John Kane wrote:

>
> --- Adrian Dusa <dusa.adrian at gmail.com> wrote:
>
>> Charilaos Skiadas <skiadas <at> hanover.edu> writes:
>>> [...]
>>> I save as csv format all the time, and it offers
>> me a choice to use
>>> the labels instead of the corresponding numbers.
>> So you shouldn't
>>> have to lose that labelling.
>>
>> This is interesting and I tried to do this as well;
>> I don't have access to an
>> SPSS 15 (only to version 14 for the moment) but I
>> cannot find the option to save
>> as CSV. Is it a version 15 feature?
>>
>> Thanks,
>> Adrian
>
> I cannot remember if I have been using 14 or 14, I
> think it was 14 and I'm not near the machine to check.
>
>   There does not seem to be a csv export in 14 but it
> looks like you can achieve the same thing by using one
> of the Excel outputs and then dumping the file from
> there.

It is not an "export" option, it is a "save as" option. I don't have  
a 14 to check, but on a 15 I just go to File -> Save As, and change  
the "Save as type" field to "Comma Delimited (.*.csv)". (I suppose  
tab delimited would be another option). Then there are two check- 
boxes below the window that allow a bit further customizing, one of  
them is about using value labels where defined instead of data values.

Haris Skiadas
Department of Mathematics and Computer Science
Hanover College



More information about the R-help mailing list