[R] how to import from SPSS without shortening variable names
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Aug 19 18:24:57 CEST 2008
On Tue, 19 Aug 2008, Timo Stolz wrote:
> Hello,
>
> as I import '.sav' files from SPSS, the variable names are shortened to
> 8 uppercase characters:
>
> "sex_of_therapist" will become "SEX_OF_TH"
>
> Is there a way around this? How can I retrieve the full names?
Have you updated your 'foreign' package recently? I think that was
changed in 0.8-27, and 0.8-29 is current.
[sessionInfo(), which the posting guide asked you to paste in the output
of, would have told us.]
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list