Latest R Core for Windows (http://cran.r-project.org/bin/windows/base/)
Official web page https://r-arcgis.github.io/
> install.packages("arcgisbinding", repos="https://r.esri.com", type="win.binary")
tool_exec <- function (in_params, out_params)
{
value0 <- in_params[[1]]
print(value0)
# ...
out_params$output1 <- TRUE
return (out_params)
}
tool_exec
(in_params, out_params) - required main function
in_params
list of all input parametersoutput_params
list of all output and derived parameters
You can get tool parameter value by index in_params[[1]]
or by parameter name output_params$output1
output_params
.arcgisbinding
in standalone R script> library(arcgisbinding)
> arc.check_product()
> d <- arc.open("c:/mydb.gdb/points")
> git clone https://devtopia.esri.com/r-integration .
Rebuild Visual Studio solution r-integration/src/msprojects/R-bridge.sln
or
> cd r-integration/build/
> build.bat pro debug
or
Production build with Docker image