Re: [R] Transfer Crosstable to Word-Document

From: bartjoosen <bartjoosen_at_hotmail.com>
Date: Wed, 20 Feb 2008 03:11:34 -0800 (PST)

Greg Snow-2 wrote:
>
> ....

>> write.table(my.data, 'clipboard', sep="\t")

>
> Then in Excel just do a paste and the data is there, this saves a couple
> of steps from saving as a .csv file and importing that into excel. This
> would probably be fine for a few tables.
>
> ....
>

Just to inform:

if you use write.table(my.data,'whateverfile.xls',sep="\t", quote=FALSE), you can open this file right from the windows explorer as a normal excel file.
If you're already running excel and choose file>open, you will get a dialog box, where you have to click complete or OK.

Bart

-- 
View this message in context: http://www.nabble.com/Transfer-Crosstable-to-Word-Document-tp15504150p15586769.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.
Received on Wed 20 Feb 2008 - 11:15:48 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 21 Feb 2008 - 11:30:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive