Re: [R] How to export data to Excel Spreadsheet?

From: Berton Gunter <gunter.berton_at_gene.com>
Date: Tue 08 Aug 2006 - 01:00:00 EST


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.

-----Original Message-----
From: r-help-bounces@stat.math.ethz.ch
[mailto:r-help-bounces@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@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@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.

R-help@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. Received on Tue Aug 08 01:26:56 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 09 Aug 2006 - 02:17:21 EST.

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