Skip to content
Prev 257740 / 398502 Next

writing/appending a text file

Collect the results in an object via 'cbind' and then write out the
results at the end of the test.  You did not mention how large these
vectors were.  You can 'append' to the end of the file, but you can
not add more columns to an existing file without reading it in,
'cbind'ing and the writing it out.  So it depends on how large your
result will be and if you have to use a relational database if it is
going to be several millions of rows.  A little more specificity would
be good; numbers always make it easier to understand the problem you
are trying to solve.
On Fri, Apr 22, 2011 at 8:40 AM, PBFrance <peter.banton at univmed.fr> wrote: