Re: [R] Export csv data

2008-03-04 Thread Hans-Peter
> > now i ended up with only 1. The 1 is fine but when i export to > excel, it is missing the probeID. Here are my code and examples. > > library(xlsReadWrite) > ... > write.xls(cbind(data[1], > Variance=apply(data[,y],1,var)),file='c://variance.csv') If you use write.xls you will get a b

Re: [R] export csv

2007-10-01 Thread Petr PIKAL
Hi > Did you try reading the help pages or looking at the examples in the > help pages? Did you even make an attempt at using the command? If so, > did you get an error or unexpected results? > > I don't know how you can expect people to help you when you appear to > have made no effort yourself.

Re: [R] export csv

2007-10-01 Thread Eric Thompson
Did you try reading the help pages or looking at the examples in the help pages? Did you even make an attempt at using the command? If so, did you get an error or unexpected results? I don't know how you can expect people to help you when you appear to have made no effort yourself. On 10/1/07,

Re: [R] export csv

2007-10-01 Thread John Kane
?write.csv --- elyakhlifi mustapha <[EMAIL PROTECTED]> wrote: > Hello, > I wanna know how to export a data frame to Excel. > For example I wanna export this data frame > > > M[1:5,] > var1 var2 distance > 1 41 42 0.2 > 2 41 43 0.304347826086957 > 3 41 46 0.

Re: [R] export csv

2007-10-01 Thread Wayne.W.Jones
Following on from your example: write.table(M,file="Myfile.csv",sep=",",row.names=F) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Yves Moisan Sent: 01 October 2007 14:45 To: r-help@r-project.org Subject: Re: [R] export csv

Re: [R] export csv

2007-10-01 Thread Yves Moisan
Hello, I wanna know how to export a data frame to Excel. For example I wanna export this data frame > M[1:5,] var1 var2 distance 1 41 42 0.2 2 41 43 0.304347826086957 3 41 46 0.19047619047619 4 41 47 0.156 5 41 48 0.209302325581395 I do