Re: [R] Wriritng to a CSV file

2012-02-09 Thread peter dalgaard
On Feb 8, 2012, at 21:56 , David Winsemius wrote: > > On Feb 8, 2012, at 2:29 PM, Ron Michael wrote: > >> Okay, so I understood that appending can only happen row-wise. Therefore I >> tried with following code: >> >>> write.csv(matrix(1:5, 1), "dat.csv") >>> write.csv(matrix(1:5, 1), "dat.csv

Re: [R] Wriritng to a CSV file

2012-02-08 Thread David Winsemius
) warning(gettextf("attempt to set '%s' ignored", argname), domain = NA) -- David. Thanks, - Original Message ----- From: Uwe Ligges To: Ron Michael Cc: "r-help@r-project.org" Sent: Thursday, 9 February 2012 1:07 AM Subject: Re: [R] Wririt

Re: [R] Wriritng to a CSV file

2012-02-08 Thread Ron Michael
d = TRUE) :   attempt to set 'append' ignored It is destroying my previous file. Where I have done wrong?   Thanks, - Original Message - From: Uwe Ligges To: Ron Michael Cc: "r-help@r-project.org" Sent: Thursday, 9 February 2012 1:07 AM Subject: Re: [R] Wriritng

Re: [R] Wriritng to a CSV file

2012-02-08 Thread Uwe Ligges
ning message: In write.csv(matrix(1:5, 1), "dat.csv", append = TRUE) : attempt to set 'append' ignored It is destroying my previous file. Where I have done wrong? Thanks, - Original Message - From: Uwe Ligges To: Ron Michael Cc: "r-help@r-project.org" Sent

Re: [R] Wriritng to a CSV file

2012-02-08 Thread Uwe Ligges
On 08.02.2012 20:14, Ron Michael wrote: Dear all, let say I want to write a vector to a CSV file. So I can have following syntax: write.csv(rnorm(10), "dat.csv") Now I want to add one more column into that existing file. If I use the same code then existing file will be destroyed. Is there

[R] Wriritng to a CSV file

2012-02-08 Thread Ron Michael
Dear all, let say I want to write a vector to a CSV file. So I can have following syntax:   write.csv(rnorm(10), "dat.csv")   Now I want to add one more column into that existing file. If I use the same code then existing file will be destroyed. Is there any functionality to add without destroyi