Rinit
Rinit |
Purpose
Synopsis
function Rinit([args:string...]): integer
Argument
args
|
List of R startup options (optional)
|
Return value
0 if the initialization was successful.
Example
The following example initializes R with default options:
initok:=Rinit if initok<>0 then writeln('Failed to initialize R') end-if
Further information
The use of this function is optional: R is automatically initialized upon first use. Default R startup options are "--slave", "--vanilla", so no site or user environment, profile, history and workspace files are processed. Please refer to the R documentation for the exact meaning of these and other options (
http://cran.r-project.org/doc/manuals/r-release/R-intro.html#Invoking-R).
Related topics