[R] questions about R

From: James Anderson <janderson_net_at_yahoo.com>
Date: Sun 02 Oct 2005 - 01:59:40 EST


Hi,
  I am new to R. I have one question about outputing files in a loop; Suppose I have the following loop:

for (i in 1:10) {
  temp = 100*2 matrix;
}
 I want to output the value of temp into 10 files with each file containing the number of looping index (i.e, file1.csv, file2.csv, ...) without headers. How can I realize this?
  Thanks.

  James



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Oct 02 02:04:54 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:34 EST