Re: [R] Merging dataframe with list

2010-05-25 Thread Ivan Calandra
Hi, I definitely have no idea of what to do precisely, but there is something you should know: data.frames ARE lists but where all elements have the same length. I don't know if that would change anything, but it might help you finding an alternative. Ivan Le 5/25/2010 11:24, Stefan Peterss

[R] Merging dataframe with list

2010-05-25 Thread Stefan Petersson
I often read SPSS system files (*.sav) into R using the 'read.spss' function from the 'foreign' library. To retain all the meta data, i.e. 'variable labels', I call the function like this: test.sav <- read.spss('http://www.cdc.gov/healthyYouth/shpps/2006/spss/envs2006.sav', to.data.frame=FAL