Re: [R] Importing data

From: Michael Dewey <info_at_aghmed.fsnet.co.uk>
Date: Tue, 08 Jan 2008 09:43:50 +0000

At 11:46 06/01/2008, Simo Vundla wrote:
>Hi,
>I'm trying to import categorical data from SPSS to R using the script:
>xxx <-spss.get("xxx.por", use.value.labels=TRUE) but unfortunately
>am getting an error message 'error reading portable-file dictionary'.
>
>I have successfully imported data in the past.

In my experience there is quite a high failure rate with files which people send me and which they claim to be in SPSS save format or SPSS portable format. If they have a reasonably recent version of SPSS then ask them to save it in Stata format which at least in my experience is a more robust process.

>What could be the problem with this data?
>
>Thanks
>
>Simo
>
>
>
>
>
>
>
>
>____________________________________________________________________________________
>Be a better friend, newshound, and
>
>
> [[alternative HTML version deleted]]

Michael Dewey
http://www.aghmed.fsnet.co.uk



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 08 Jan 2008 - 09:51:54 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 Jan 2008 - 10:30:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive