[R] problem with loop to put data into array with missing data for some files

Ido M. Tamir tamir at imp.univie.ac.at
Mon Nov 20 14:57:03 CET 2006


Hi,

Sorry for being lazy,
but your post was a bit too long for me.

I think you could try try.

data <- NA
try(data <- readFiles())
if(is.na(data)){

}
else{

} 

or similar

HTH
Ido



More information about the R-help mailing list