Displaying 1 result from an estimated 1 matches for "getparameterastext".
2011 Aug 23
1
Passing parameters
...at the R end.
Here is the Python script that is retrieving parameters from the model and
supposedly passing to R:
import arcpy as ARCPY
import arcpy.management as DM
import os as OS
import sys as SYS
def setupMyRsemivar():
########## Get User Provided Inputs ##########
currentWS = arcpy.GetParameterAsText(0) # base working directory
currentWS_RCMD = '"' + wd_base + '"' # add the string quotes
indata = arcpy.GetParameterAsText(1) # polygon input file
indata_RCMD = '"' + data_input + '"' # add the string quotes
R_output = arcpy.GetPar...