RLink Reference
R is a programming language and software environment for statistical computing and graphics. R is an open-source project, and a result of a large community effort. More information about R can be found at http://www.r-project.org.
Wolfram Language Functions
This describes the Wolfram Language functions provided by RLink.
RLink Installation
| InstallR | configure and install RLink and load the R runtime |
| UninstallR | uninstall the R runtime |
Functions related to the installation of RLink.
RLink Internal and Short Forms of R Data Representation
| RVector | represent the R vector internally |
| RList | represent the R list internally |
| RNull | represent the R NULL object internally |
| REnvironment | represent the R global environment |
| RCode | represent R objects not directly supported by RLink |
| RFunction | represent the R function reference |
| RAttributes | represent attributes for an R object, both internally and in the short form |
| RObject | represent a generic R object (usually with a non-empty set of attributes) in the short form |
Data containers, used as building blocks to form the internal and short forms of RLink representation of R objects.
Conversion between Short and Long Forms of Data Representation
| ToRForm | convert the short form to a long internal form of RLink data representation |
| FromRForm | convert the internal form to a short form of RLink data representation |
Functions to realize data conversion between short and long (internal) forms of RLink data representation.
Data Exchange between the Wolfram Language and R, R Code and Functions Execution
| RSet | transfer Wolfram Language data to R and assign it to some variable or expression in the R workspace |
| REvaluate | evaluate a string of R code and get the result to the Wolfram Language |
| RFunction | when given arguments, execute a function in the R workspace to which it is a reference, with those arguments, and return a result back to the Wolfram Language |
Functions to exchange data between R and the Wolfram Language, execute strings of R code, or R functions.
RLink Data Type Extension System
| RDataTypeRegister | register an extended data type definiton with RLink |
| RDataTypeUnregister | unregister an extended data type |
| RDataTypeDefinitionsReload | dynamically reload all available extended data type definitions, making their current versions available in the current RLink session |
| $RDataTypePath | store the path (list of directories) where RDataTypeDefinitionsReload looks for extended type definitions |
| RDataTypeRegisteredQ | test whether or not an extended data type with a given name is currently registered with RLink |
| RTypeOfHighLevelExpression | return the name of the data type, an instance of which is represented by a given expression (high-level representation) |
| RTypeOfLowLevelExpression | return the name of the data type, an instance of which is represented by a given expression (low-level representation) |
Functions adding support for registering user-defined extended data types with RLink and getting information about them.
Related Guides
-
▪
- RLink