[R] Odp: R output

Petr PIKAL petr.pikal at precheza.cz
Mon Dec 14 17:30:01 CET 2009


Hi


r-help-bounces at r-project.org napsal dne 14.12.2009 17:09:55:

> Dear all,
> I would like to ask you if exists some way of having the results of an R 

> instruction (for instance, "summary") in a table to copy it directly in 
Excel.

What do you mean directly in Excel. If the output is structured like table 
you can use something like

write.table(object, "clipboard", sep= "\t", row.names=F)

You can copy an output from console just the same way as you use 
copy/paste procedure between Word and Excel.
You can use some other more sophisticated ways (see data import/export 
manual or you can invent your own ways and preferred procedures too.

Regards
Petr


> Thank you very much in advance.
> Best wishes!
> 
> Manuel
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list