Re: [R] Appending data to a data.frame and writing a csv

2011-03-25 Thread Vincy Pyne
will be executed outside the loop. Once this is generated, writing of the csv file should not be problem outside the loop. Regards Vincy --- On Fri, 3/25/11, Ista Zahn wrote: From: Ista Zahn Subject: Re: [R] Appending data to a data.frame and writing a csv To: "Vincy Pyne" Cc

Re: [R] Appending data to a data.frame and writing a csv

2011-03-25 Thread Ista Zahn
Hi Vincy, Please read the help file, particularly the part about write.csv and write.csv2 where it says "These wrappers are deliberately inflexible: they are designed to ensure that the correct conventions are used to write a valid file. Attempts to change append, col.names, sep, dec or qmethod are

[R] Appending data to a data.frame and writing a csv

2011-03-25 Thread Vincy Pyne
Dear R helpers exposure <- data.frame(id = c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20), ead = c(9483.686,5,6843.4968,10509.37125,21297.8905,5,706152.8354, 62670.5625, 687.801995,50641.4875,59227.125,43818.5778,52887.72534,601788.7937, 56813.14859,4012356.056,1419501.179,210853