pkgmaker (version 0.32.10)

R.exec: Executing R Commands

Description

Functions to execute R commands.

Usage

R.exec(..., lib.loc = NULL)

R.CMD(cmd, ...)

R.SHLIB(libname, ...)

Value

Returns the value of executing the R command via system.

Arguments

...

extra arguments that are concatenated and appended to the command.

lib.loc

logical that indicates if the current library locations should be used. If a character vector, then it is used as the library path specification.

cmd

command to run, e.g. ‘check’ or ‘INSTALL’.

libname

name of the output compiled library

Functions

  • R.exec(): executes a single R command via system2.

  • R.CMD(): executes R CMD commands.

  • R.SHLIB(): executes R CMD SHLIB commands.