[R] export graph/data to Word/Excel

Uwe Ligges ligges at statistik.uni-dortmund.de
Sat Jan 6 10:40:38 CET 2001


Yu-Ling Wu wrote:
> 
> Hi,
> 
> I have some data and plot some graphs using R. Can
> anybody tell me
> 1. how to save my data as a dataset in R?
> 2. how to export those data/graphs to other
> applications like Word/Excel?
> I use RODBC to import data.

"data":
Please read the "R Data Import/Export" manual, which is included in
R-1.2.0.
Anyway, in most cases I would simply try write.table().

"graphs":
You can produce several formats (e.g.: ps, png, bmp, jpg). 
?device  gives a short overview and points you to serveral functions.

You might also want to read "An Introduction to R".

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list