Re: [R] data.frame to character - thanks

2005-06-10 Thread Muhammad Subianto
Dear all, Thank you very much for your help. I would like to thank Andy Liaw and Gabor Grothendieck for their fast help. Regards, Muhammad Subianto On this day 6/10/2005 2:30 PM, Liaw, Andy wrote: Is this what you want? d[] - lapply(d, as.character) str(d) `data.frame': 10 obs. of

Re: [R] data.frame to character - thanks

2005-06-10 Thread Gabor Grothendieck
Here is one minor improvement -- it does not overwrite the input: replace(d,,as.matrix(d)) On 6/10/05, Muhammad Subianto [EMAIL PROTECTED] wrote: Dear all, Thank you very much for your help. I would like to thank Andy Liaw and Gabor Grothendieck for their fast help. Regards, Muhammad