The caliperR package allows you to leverage the power of Caliper software within an R session. All GISDK macros and functions are made available and can send results directly to your R environment over COM (e.g., a dataview in Maptitude becomes a data.frame in R). The package is hosted on GitHub here: https://github.com/Caliper-Corporation/caliperR
Note: Caliper software must be installed on your machine for the package to work.
Type the following in your R session:
if (!require("devtools")) install.packages("devtools")
devtools::install_github(' Caliper-Corporation/caliperR`)
The simple code below can verify if caliperR is working properly on your machine:
library(caliperR)
dk <- connect()
RunMacro("G30 Tutorial Folder")
#> "C:/Users/..."
For more details, see the package vignettes starting with the basics:
vignette("using-caliperR")