[R] writing 'output.csv' file

2009-12-04 Thread Maithili Shiva
Dear R helpers   Suppose   M - c(1:10)  #  length(M) = 10 N - c(25:50) #  length(N) = 26    I wish to have an outut file giving M and N. So I have tried   write.csv(data.frame(M, N), 'output.csv', row.names = FALSE)   but I get the following error message   Error in data.frame(M, N) :  

Re: [R] writing 'output.csv' file

2009-12-04 Thread Chuck Cleland
On 12/4/2009 5:12 AM, Maithili Shiva wrote: Dear R helpers Suppose M - c(1:10) # length(M) = 10 N - c(25:50) # length(N) = 26 I wish to have an outut file giving M and N. So I have tried write.csv(data.frame(M, N), 'output.csv', row.names = FALSE) but I get the

Re: [R] writing 'output.csv' file

2009-12-04 Thread Maithili Shiva
out further calcualtions on this output file. Please guide.   Regards   Maithili --- On Fri, 4/12/09, Johannes Signer j.m.sig...@gmail.com wrote: From: Johannes Signer j.m.sig...@gmail.com Subject: Re: [R] writing 'output.csv' file To: Maithili Shiva maithili_sh...@yahoo.com Date: Friday, 4

Re: [R] writing 'output.csv' file

2009-12-04 Thread jim holtman
Maithili --- On Fri, 4/12/09, Johannes Signer j.m.sig...@gmail.com wrote: From: Johannes Signer j.m.sig...@gmail.com Subject: Re: [R] writing 'output.csv' file To: Maithili Shiva maithili_sh...@yahoo.com Date: Friday, 4 December, 2009, 10:29 AM Hello, maybe that helps: write.csv(paste