Initializing help system before first use

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.
Rsetdf
Assign a Mosel array to an R data.frame object.
Rsource
Evaluate an R script file.

© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.