Displaying 1 result from an estimated 1 matches for "addwarn".
Did you mean:
addware
2011 Aug 23
1
Passing parameters
...uot;default", "Executing R Script...")
args = " ".join([currentWS_RCMD, indata_RCMD, R_output_RCMD])
RCMD = "R --slave --vanilla --args "
cmd = RCMD + args + " < " + rScript
#### Uncomment Next Line to Print Command ####
ARCPY.AddWarning(cmd)
#### Execute Command ####
OS.system(cmd)
####################################################
And here is the opening of my R script:
##################### load all of the required packages
print("Loading Libraries??")
library(intamap) # also loads sp, gstat, rgdal, akim...