Skip to content
Prev 175140 / 398506 Next

Reading in files with variable parts to names

That's because do.call wants a list:

what about this one:

 > do.call( sprintf, append(  list("C:\\Documents and 
Settings\\Data\\comp_runoff_hd_%04d%02d.asc"), expand.grid( 
seq(1986,1995), 1:12) ) )

Romain
Steve Murray wrote: