Hi, I am trying to export on the fly some tables within a loop, doing something like
For[i = 1, i <= 3, i++, PutAppend[{{i, i^2}}, "tmp.dat"] ]
and it indeed works, despite the fact that the output file is something like
{{1, 1}}{{2, 4}}{{3, 9}}
why I would like to have something like
1 1
2 4
3 9
that could be achieved with Export for example. Is there a way to do this? I tried with and option "Table" in PutAppend, but it does not work.
Thanks
Daniele