Class R

The R class represents the instance of R running within IML Studio. Unlike other IMLPlus classes such as ScatterPlot, the R class provides only static methods that implicitly reference the instance of R running within IML Studio. The methods of the R class are

CopyCurrentPlotToOutputDocument
Copies a picture of the current R plot to the program's output document.

GetCharacterMatrix
Evaluates an R expression and creates an IML character matrix from the result.

GetMatrix
Evaluates an R expression and creates an IML matrix from the result.

GetNumericMatrix
Evaluates an R expression and creates an IML numeric matrix from the result.

IsValidIdentifier
Determines whether a string can be used as an R identifier.

SetMatrix
Assigns an IML matrix to an R variable.

SubmitStatements
Submits R language statements to R for execution.