[R] pasting results into Word/Excel

Graham M Smith graham.smith at myotis.co.uk
Sun Apr 11 22:18:00 CEST 2004


Gabor,

> > : Is there some clever way of pasting results from R into Excel or 

> > Try this:
> > 
> >    data(iris)   # get a test data frame
> >    require(R2HTML)
> >    HTML( iris, file("clipboard","w"), append=F )   

This worked exactly as I was hoping.

Many thanks,

Graham




More information about the R-help mailing list