I am trying to append collums to a data frame in a for loop. I read in tables, do some processing and then write the result to a data.frame. But, the thing I want is, that the results are appended to the data frame in stead of overwriting the results of the prevous table.
It has to look something like this:
After going trough the loop once:
After going trough the loop twice:
Array 1 Array 2
After going trough the loop three times:
Array 1 Array 2 Array 3
1 1 1
2 2 2
3 3 3
4 4 4
5 5 5
I don't think I understand. Can you work up a dummy example that will
run independent of your actual data, and produce the problem? This
will help everyone diagnose the problem. Naively this sounds like an
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.
"A big computer, a complex algorithm and a long time does not equal science."