Procedures and functions
All R statements are evaluated in the R Global Environment, more often known as the user's workspace.
In general, the procedures and functions of r do not fail in case of R parsing or evaluation errors but set an internal status variable that can be read with Rerrcode. To make sure that an operation has been performed correctly, it is recommended to check the value of this variable after each call.
Rclearerr |
Clear the last error code and message.
|
Rerrcode |
Get the last error code.
|
Rerrmsg |
Get the last error message.
|
Reval |
Evaluate R statements.
|
Rfree |
Terminate an R session.
|
Rgetarr |
Get the resulting array of an R expression.
|
Rgetbool |
Get the boolean value of an R expression.
|
Rgetint |
Get the integer value of an R expression.
|
Rgetreal |
Get the real value of an R expression.
|
Rgetstr |
Get the string value of an R expression.
|
Rinit |
Initialize an R session.
|
Rprint |
Evaluate R statements and print the result.
|
Rset |
Assign a Mosel value to an R object.
|
Rsource |
Evaluate an R script file.
|