Re: [R] Exporting data

2003-07-11 Thread Jonathan Baron
On 07/11/03 09:58, C.E.Marshall wrote: I am running simulations calculating correlation coefficients from bivariate data and I was wondering whether there is a way of exporting 1000 simulation results from R to a text file or to another file for further manipulation. I am having difficulty I

RE: [R] Exporting data

2003-07-11 Thread Adaikalavan Ramasamy
This really depends on what your output is. As previously suggested save() and write() are excellent suggestions. for(ii in 1:1000){ out - cor( x[ii, ], y[ii, ] ) # or whatever cat(ii, \t, out, \n, append=TRUE, file=output.txt) } This method is really not worth it for small