Re: [R] Append to csv without header

2010-08-11 Thread harsh yadav
Hi, Thanks a lot. It worked with:- write.table(data, file = outputModelFilePath, append=T, sep=",", col.names=F) Regards, Harsh Yadav On Wed, Aug 11, 2010 at 11:53 PM, David Winsemius wrote: > > On Aug 11, 2010, at 10:29 PM, harsh yadav wrote: > > Hi, >> >> I am writing a function that writes

Re: [R] Append to csv without header

2010-08-11 Thread David Winsemius
On Aug 11, 2010, at 10:29 PM, harsh yadav wrote: Hi, I am writing a function that writes to a csv file for every call. However, for the subsequent calls, I want to append the data to the existing csv file without appending the column names again. I tried searching in the previous posts, b

Re: [R] Append to csv without header

2010-08-11 Thread Wu Gong
Hi, It seems that write.csv doesn't support append now. Use write.table() write.table(dataF, file = outputFilePath, append=T,col.names =F) Regards, Wu - A R learner. -- View this message in context: http://r.789695.n4.nabble.com/Append-to-csv-without-header-tp2322115p2322172.html Sent

[R] Append to csv without header

2010-08-11 Thread harsh yadav
Hi, I am writing a function that writes to a csv file for every call. However, for the subsequent calls, I want to append the data to the existing csv file without appending the column names again. I tried searching in the previous posts, but I am stuck with different errors. Here is what I am