R Class

Provides methods for calling the R statistics program.

Module:GeoEco.R
Intended use:All methods are recommended for external callers
COM:Exposed as COM class GeoEco.R
ArcGIS:Some methods are exposed as ArcGIS geoprocessing tools

Classmethods

Evaluate(statements[, clearGlobalEnv[, tables[, dataFrameNamesForTables[, xColumnName[, yColumnName[, zColumnName[, mColumnName[, stringsAsFactors[, variableNames[, variableValues[, timeZone]]]]]]]]]]])
Evalutes one or more R statements using the R interpreter and returns the result of the last statement.
EvaluateFile(path[, clearGlobalEnv[, tables[, dataFrameNamesForTables[, xColumnName[, yColumnName[, zColumnName[, mColumnName[, stringsAsFactors[, variableNames[, variableValues[, timeZone]]]]]]]]]]])
Evalutes the R statements in a text file using the R interpreter and returns the result of the last statement.
GetInterpreter()
Returns an instance of the R interpreter.
GetUniqueVariableName()
Returns a unique name that does not currently exist as a global variable in the R interpreter. The returned name is suitable for use as a temporary variable.
LoadDataFrameFromArcGISTable(table, dataFrameName[, where[, fields[, xColumnName[, yColumnName[, zColumnName[, mColumnName[, stringsAsFactors[, timeZone]]]]]]]])
Loads an ArcGIS table into the R interpreter's global workspace as a data frame.
LoadDataFrameFromTable(connection, table, dataFrameName, fields[, stringsAsFactors[, timeZone[, where[, orderBy[, directions]]]]])
Loads a table into the R interpreter's global workspace as a data frame.

Remarks

This module is primarily intended to expose R functionality to ArcGIS users, and to provide utility classes and methods to be used internally by the GeoEco Python package. We recommend that Python programmers use the rpy package, rather than using our module. We recommend that programmers of other languages consider other libraries and components that provide a more-complete exposure of R's functionality. For example, Windows users should consider the "R (D)COM connector".