Displaying 1 result from an estimated 1 matches for "rgrassscript".
2013 Mar 24
0
Rscript does not load/capture all shell arguments
Hi,
I am working on a GRASS script (bash script), which should run a R script.
I am working on Ubuntu 12.10, with R 2.15.3 and GRASS GIS 7.0 (I am not
sure the latter isn't really relevant as the grass script is just a bash
script). The R script is evoked with a call to Rscript ($RGRASSSCRIPT is a
shell variable with the file name of the R script, the rest are variables I
want to read into R) :
Rscript --no-save --no-restore $RGRASSSCRIPT $GIS_OPT_INMAP $GIS_OPT_PRES
$GIS_OPT_ENV $GIS_OPT_OUTMAP_GLM $GIS_OPT_FSTATS $GIS_FLAG_M $GIS_OPT_SPP
$GIS_OPT_SPA $GIS_OPT_FAM $GIS_OPT_TERMS $GIS_...