[R-sig-Geo] RSAGA - rsaga.geoprocessor crash
Tim.Haering at lwf.bayern.de
Tim.Haering at lwf.bayern.de
Mon Jul 19 17:41:07 CEST 2010
> My impression was that the .sgrd inputs in the "GRIDS" parameter had to separated by ";", and my code does provde a character vector with the format > "grid1.sgrd;grid2.sgrd;grid3.sgrd..."
> Maybe it is time to update!
Hmm... Your string for the GRIDS argument is right - just like in my little example. It has to be "grid1.sgrd;grid2.sgrd;grid3.sgrd" - at least for SAGA 2.0.4.
>> Maybe it is a problem with your SAGA version. I could reproduce
>> your example without any problem. I`m using SAGA 2.0.4, R 2.11.0
>> and RSAGA 0.9-6 on Windows XP.
>>
>> Or it is a problem of your GRIDS argument. How is it organized?
>> > qp <- list.files(getwd(), pattern=".sgrd")
>> > filelist <- list.files(getwd(), pattern=".sgrd")
>> > filelist
>> [1] "g1.sgrd" "g2.sgrd" "g3.sgrd"
>> > paste(set.file.extension(filelist,".sgrd"),collapse=";")
>> [1] "g1.sgrd;g2.sgrd;g3.sgrd"
If your function call still fails try an update of SAGA, R and RSAGA.
HTH,
TIM
More information about the R-sig-Geo
mailing list