Re: [R] R data Export to Excel

From: Christophe Lo <christophe.lo_at_gmail.com>
Date: Mon, 03 Mar 2008 03:40:09 +0000

thanks for your response. How do i install it? I try looking at the manual it doesn't seem indicate any installation instruction. I also download a windows version but it doesn't have an exe file.

http://cran.r-project.org/web/packages/xlsReadWrite/index.html

Newbie,
Kei

On 3/3/08, Wensui Liu <liuwensui_at_gmail.com> wrote:
>
> hi,
> did you try write.xls in xlsReadWrite package?
>
>
> On Sun, Mar 2, 2008 at 9:59 PM, Keizer_71 <christophe.lo_at_gmail.com> wrote:
> >
> > Here is my R Code
> >
> > x<-1:20000
> > y<-2:141
> > data.matrix<-data.matrix(data[,y])#create data.matrix
> > variableprobe<-apply(data.matrix[x,],1,var)
> > variableprobe #output variance across probesets
> > hist(variableprobe) #displaying histogram of variableprobe
> > write.table(cbind(data[1],
> > Variance=apply(data[,y],1,var)),file='c://variance.csv')
> > #export as a .csv file.
> >
> > Output in Excel
> > all in 1 column.
> >
> > ProbeID "Variance"
> > 1 "224588_at" 21.5825745738848
> >
> > How do i separate them so that i can have three columns
> >
> > ProbeID Variance
> > 1 224588_at 21.582.....
> >
> > thanks,
> > Kei
> >
> >
> > --
> > View this message in context:
> http://www.nabble.com/R-data-Export-to-Excel-tp15796903p15796903.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.
> >
>
>
>
> --
> ===============================
> WenSui Liu
> ChoicePoint Precision Marketing
> Phone: 678-893-9457
> Email : wensui.liu_at_choicepoint.com
> Blog : statcompute.spaces.live.com
> ===============================
>

-- 
Christophe Lo
(078) 8275 7029
Christophe.Lo_at_gmail.com

	[[alternative HTML version deleted]]

______________________________________________
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 Mon 03 Mar 2008 - 03:42:49 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 Mon 03 Mar 2008 - 06:30:17 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