Functions to execute R commands.
R.exec(..., lib.loc = NULL)R.CMD(cmd, ...)
R.SHLIB(libname, ...)
extra arguments that are concatenated and appended to the command.
logical that indicates if the current library locations should be used. If a character vector, then it is used as the library path specification.
command to run, e.g. ‘check’ or ‘INSTALL’.
name of the output compiled library
R.exec
: executes a single R command via system2
.
R.CMD
: executes R CMD commands.
R.SHLIB
: executes R CMD SHLIB commands.