Re: [R] Reading Input file

2009-12-26 Thread jim holtman
II > > PPP = matrix(data = rate_name, nrow = 1, ncol = 3, byrow = FALSE) > X = matrix(data = NA, nrow = 3, ncol = 6, byrow = FALSE) > > for (j in 1:3) > X = read.csv(PPP[1, j]) > > # X returns (i.e. only first record is taken) > > r1r2r3r4

Re: [R] Reading Input file

2009-12-26 Thread John Kane
First of all there seems to be something wrong with your equation > rate_name[i] = (paste(`rate', i, ‘.csv`, sep = ‘’)) Try this rate_name[i] <- paste("rate",i,".csv", sep="") I am not --- On Sat, 12/26/09, Maithili Shiva wrote: > From: Maithili

Re: [R] Reading Input file

2009-12-26 Thread Maithili Shiva
 Â  10.50   10.50    10.75     Please guide   With regards   Maithili     --- On Sat, 26/12/09, Johannes Signer wrote: From: Johannes Signer Subject: Re: [R] Reading Input file To: "Maithili Shiva" Cc: r-help@r-project.org Date: Saturday, 26 December, 2009, 9:42 AM On

Re: [R] Reading Input file

2009-12-26 Thread Johannes Signer
On Sat, Dec 26, 2009 at 10:21 AM, Maithili Shiva wrote: > > > Dear R helpers > > I have some files in my say 'WORK' directory and the file names are say > rate1.csv, rate2.csv, rate3.csv, rate4.csv > > Because of some other requirement, I need to run the following commands > > n = 4 > > rates = NU