Skip to content

export graph/data to Word/Excel

2 messages · Yu-Ling Wu, Uwe Ligges

#
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.

Thanks,
Yu-Ling Wu

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Yu-Ling Wu wrote:
"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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._