RLaB comes with many built-in and user-functions. The built-in functions are available any time RLaB is run, regardless of the command-line options. The user-functions that are delivered with RLaB may, or may not be accessible, depending upon how RLaB has been configured on your computer and the command-line options used.
Typing `rlab -ql
' will run RLaB without executing the
.rlab
file or loading any of the delivered user-functions.
The built-in functions in RLaB are unlike user-functions in that
users cannot destroy or reassign them to other
variables17. This protection is in place
so that users will be able to write portable libraries using the
built-in functions.
RLaB does not automatically search RLAB_SEARCH_PATH
for R-files when an unresolved reference is encountered. Instead,
the user must explicitly load
, or use the rfile
command to get RLaB to load and compile the function or
statements. To see what functions are currently available type:
`what()
', this will list all of the currently available
functions. Typing `rfile
' from within RLaB will list all
of the R-files in the directories listed in the environment
variable RLAB_SEARCH_PATH
. The files displayed by the
rfile
command can be loaded by typing `rfile filename
',
where filename
is the name of the R-file to load,
without the .r
extension.