Displaying 1 result from an estimated 1 matches for "setprogressor".
2011 Aug 23
1
Passing parameters
...Python Script
rScript = OS.path.join(toolDir, "MyRsemivar.r") # Concatenate the
directory with the R script name
rScript = '"' + rScript + '"' # add the string quotes
########## Create and execute the command to call the R script
##########
ARCPY.SetProgressor("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 ####
ARC...