E.g.
write.excel - function(tab, ...) write.table( tab, clipboard,
sep=\t, row.names=F)
write.excel(your.data.frame)
and pressing Ctrl-V in Excel copies your.data.frame to Excel
Cheers
Petr
On 13 Mar 2005 at 14:26, Faith G wrote:
Hi,
I am trying to output an dataframe from R to Excel
Hi,
I am trying to output an dataframe from R to Excel file. Can anyone tell me how
to do it? Thanks a lot.
Eg.
R dataframe:
ABC
121
342
...
[[alternative HTML version deleted]]
__
R-help
I am trying to output an dataframe from R to Excel file. Can anyone
tell me how to do it? Thanks a lot.
write.csv() might get you where you want to go.
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
On Sun, 13 Mar 2005, Faith G wrote:
Hi,
I am trying to output an dataframe from R to Excel file. Can anyone tell me
how to do it? Thanks a lot.
Eg.
R dataframe:
ABC
121
342
...
?write.table (see also the nice example)
[[alternative
--- Faith G [EMAIL PROTECTED] wrote:
Hi,
I am trying to output an dataframe from R to Excel file. Can anyone
tell me how to do it? Thanks a lot.
Eg.
R dataframe:
ABC
121
342
...
Try:
write.table(mydf, c:/mydf.csv, sep=,, row.names=FALSE