[R] Min , Max

Rui Barradas ruipbarradas at sapo.pt
Sat Apr 28 21:55:51 CEST 2012


> Hello again,
> I am still having the same problem with the main loop.it succeeded to
> finish reading and writing from the first file in my 
> listfile but failed when it moves to the second file giving this
> error:Error: subscript out of bounds

Don't subscript then.
The only place where you're using the subscript is in


The same can be made using the vector 'listfile' directly, for instance,
(dummy loop, just to see if it works.)

for(h in listfile){

Hope this helps,

Rui Barradas

View this message in context: http://r.789695.n4.nabble.com/Min-Max-tp4593065p4595202.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list