search for: gis_opt_fam

Displaying 1 result from an estimated 1 matches for "gis_opt_fam".

2013 Mar 24
0
Rscript does not load/capture all shell arguments
...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_FLAG_Q $GIS_OPT_OUTMAP_PROJ $GIS_OPT_ENV_PROJ $GIS_OPT_KFOLD $GIS_OPT_SFOLD In the R script, I use the commandArgs function to capture the arguments supplied to Rscript: args <- commandArgs(trailingOnly=TRUE) The problem is that args only contains the first 12 arguments (u...