[R-sig-eco] Error in x[[1]] : subscript out of bounds

Rajendra Mohan panda rmp.iit.kgp at gmail.com
Sun Apr 19 16:45:37 CEST 2015


Dear All

If I run
fnames <- stack(list.files(path=paste(system.file(package="dismo"), "/ex",
sep=""),pattern = "grd", full.names=TRUE))
It works fine.
While I change my folder name to anything else with the same path, it gives
following error:
Error in x[[1]] : subscript out of bounds
Kindly advise how it can be sorted out.

Look forward to your kind response

With Best Regards
Rajendra M Panda
School of Water Resources
Indian Institute of Technology Kharagpur


More information about the R-sig-ecology mailing list