R class that gives access to GISDK functions
R class that gives access to GISDK functions
This class makes it easy to call any arbitrary GISDK function from R.
Performs multiple dispatch based on the name of the method called. If the named is one of a few caliperR functions, those are executed. If not, then then the name is assumed to represent a GISDK function and is called over COM.
new()
On creation, attempts to connect to Caliper software if not already connected.
GisdkClass$new()
A new GisdkClass
object.
RunMacro()
Class implementation of caliperR::RunMacro()
.
GisdkClass$RunMacro(macro_name, ..., process_result = TRUE)
macro_name
string
The GISDK macro name to run.
...
The arguments to pass to the GISDK macro.
process_result
boolean
Whether to attempt to convert GISDK
data types to R. Defaults to true.
CreateObject()
Class implementation of caliperR::CreateObject()
.
GisdkClass$CreateObject(class_name, ...)
class_name
string
The name of the GISDK object to create.
...
Any arguments to be passed to the object during creation.
SetAlternateInterface()
Class implementation of caliperR::SetAlternateInterface()
.
GisdkClass$SetAlternateInterface(ui_file = NULL)
ui_file
string
File path to the compiled UI file.
GetInterface()
Class implementation of caliperR::GetInterface()
.
GisdkClass$GetInterface()
clone()
The objects of this class are cloneable with this method.
GisdkClass$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.