[R] How to export data to Excel Spreadsheet?

Berton Gunter gunter.berton at gene.com
Mon Aug 7 17:00:00 CEST 2006


You can also usually copy and paste to/from the Windows clipboard by using
file='clipboard' in file i/o or via description = 'clipboard' using
connections. I haven't checked all details of this, so there may be some
glitches.  

-- Bert Gunter

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Paul Smith
Sent: Monday, August 07, 2006 5:23 AM
To: R-Help
Subject: Re: [R] How to export data to Excel Spreadsheet?

On 8/7/06, Xin <jasonshi510 at hotmail.com> wrote:
>    I try to export my output's data to Excel spreadsheet. My outputs are:
>
>  >comb3
>        [,1] [,2] [,3]
>   [1,] "a"  "b"  "c"
>   [2,] "a"  "b"  "d"
>   [3,] "a"  "b"  "e"
>   [4,] "a"  "b"  "f"
>   [5,] "a"  "b"  "g"

See

? write.table
? write.csv

Paul

______________________________________________
R-help at stat.math.ethz.ch 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.



More information about the R-help mailing list