Initializing help system before first use

# Rinit

Purpose
Initialize an R session.
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 "--no-echo", "--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
Rfree.
Parent Topic Procedures and functions

© 2001-2026 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.