[R] Export the R object

Roger D. Peng rpeng at jhsph.edu
Fri Dec 31 21:54:11 CET 2004


If you want to export data frame, you can use write.table() to write out a CSV 
(comma separated value) file, which you can then read into Excel.

-roger

Ko,Younhee wrote:
> Hi, 
> 
> I just have a quick question.
> If I got some result as the result of R, how can I export 
> the result object?
> 
> I mean, if I want to use the result object in Excel or other 
> program in order to more specific investigation, how can I 
> export it?
> 
> If I just list the result and copy, 
> The result is like this..
> 
> 
> [586] "BB170029A10B06" "BB170029A20E06"
> 
> First column, automatically show the number of result and 
> other result also include the "".
> 
> If I want to use this result, I have to manipulate the 
> result by myself(I mean e.g remove " and remove [586] like 
> this way)?????
> 
> Or there is any good way to export this result object to 
> other program?
> 
> Please help me. 
> 
> Thanks in advance.
> ========================
> Younhee Ko(younko at uiuc.edu)
> 
> http://comedu.korea.ac.kr/~unygo
> contact : 217-417-4868
> Graduate Student in Dept. of Computer Science
> University of Illinois at Urbana-Champaign
> 
> ______________________________________________
> R-help at 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
>




More information about the R-help mailing list