Re: [R] listing array after loop

2012-02-24 Thread R. Michael Weylandt
This sure sounds like you need to read the advice I gave you on the other thread where you asked the same questions... Michael On Fri, Feb 24, 2012 at 5:04 PM, uday wrote: > The following error I got > > Warning messages: > 1: In sci.lat[i] = data[, 7] : >  number of items to replace is not a mu

Re: [R] listing array after loop

2012-02-24 Thread uday
The following error I got Warning messages: 1: In sci.lat[i] = data[, 7] : number of items to replace is not a multiple of replacement length 2: In sci.lon[i] = ((temp.lon + 180)%%360) - 180 : number of items to replace is not a multiple of replacement length 3: In sci.ch4[i] = data[, 45] :

Re: [R] listing array after loop

2012-02-24 Thread Petr Savicky
On Fri, Feb 24, 2012 at 09:48:16AM -0800, uday wrote: > > I want to create r object from my data set. > I have several data files and I would like to read individual parameter > from file and save all 10 files parameter in a single array > e.g > setwd("/temp/") > file_s <- list.files(path = "."