Re: [R] Variable labels

2012-07-18 Thread Francois Maurice
Thanks a lot, it works fine with me !! François Maurice De : Nutter, Benjamin nutt...@ccf.org À : Francois Maurice maurice.franc...@ymail.com; r-help@r-project.org Envoyé le : mercredi 18 juillet 2012 8h21 Objet : RE: [R] Variable labels I have my own function for doing this that is similar

Re: [R] R-help Digest, Vol 113, Issue 20

2012-07-17 Thread Francois Maurice
Hi,   I'm using write.table() to export dataframe to Excel. All works fine except that I want to export the variable labels instead of variable names.    I can see the labels in the R consol using attr(), but I just don't know how to use the labels instead of the names.   Thanks,   François

[R] Variable labels

2012-07-17 Thread Francois Maurice
Hi,   I'm using write.table() to export dataframe to Excel. All works fine except that I want to export the variable labels instead of variable names.  I can see the labels in the R consol using attr(), but I just don't know how to use the labels instead of the names. Thanks, François