[R] variable names from SPSS data base

From: SUBIRANA CACHINERO, ISAAC <isubirana_at_imim.es>
Date: Wed 10 May 2006 - 01:09:35 EST

Hi R-users,  

When I import a data base from SPSS with some variable with a name of more than 8 characters (which is possible in version 12 or later of SPSS software) I find that the name of these variables have been truncated to 8 characters. I used the 'read.spss' function from the 'foreign' package.
Is there a function in R that solves this 'length variable names' problem; so that the names of the variables of the imported R data base be the same as the names of the original SPSS data base?    

Thanks in advance!    

Isaac Subirana (isubirana@imim.es)

        [[alternative HTML version deleted]]

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed May 10 01:25:50 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 10 May 2006 - 04:09:59 EST.

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