Hi, you may use list.files('dir-of-your-files', ...) to get the paths
of all the files, and use file.info() to get the date attribute, then
order them by date, and finally in a loop
for(i in paths-of-your-files){
open.ncdf(i, ...)
...
}
Regards,
Yihui
--
Yihui Xie <[EMAIL PROTECTED]>
Phone: +86-(
Hello,
I am fairly new to R programming. I have a series of netcdf files that
I am able to open one at a time using open.ncdf. I want to write this
into an R script so that I can successively open each file by date in a
for-loop. Any suggestions?
Thanks
Brian Pettegrew
--
Brian Pettegre
2 matches
Mail list logo