R.exec: Executing R Commands

View source: R/devutils.R

R.execR Documentation

Executing R Commands

Description

Functions to execute R commands.

Usage

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

R.CMD(cmd, ...)

R.SHLIB(libname, ...)

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

Value

Returns the value of executing the R command via system.

Functions

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

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

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


renozao/pkgmaker documentation built on May 3, 2023, 6:04 p.m.