[R] Hmisc variable labels as vector?

Steve Powell steve at promente.org
Mon Jul 16 09:31:29 CEST 2007


Dear members
I have imported an SPSS data file using Hmisc. 
So  label(mydata[[1]]) gives me the first variable label
Just wondering how I can access all the variable labels as a vector?
Something like label(mydata[[1:3]]) but that doesn't work.
Thanks in advance


Steve Powell


proMENTE social research
research | evaluation | training & consulting



More information about the R-help mailing list