Hi, you might try to use the foreign-package, which contains the function read.spss. This works fine most of the time,
For a description of its usage, see the help-files or my own website: http://www.rensenieuwenhuis.nl/r-project/manual/basics/getting-data- into-r-2/ Remember, you'll need to install the foreign-package first. Hope this helps, Rense Nieuwenhuis On Jan 6, 2008, at 12:46 , 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. > > What could be the problem with this data? > > Thanks > > Simo > > > > > > > > > ______________________________________________________________________ > ______________ > Be a better friend, newshound, and > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. > ______________________________________________ R-help@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.