Learn R Programming

rmake (version 1.2.1)

make: Run make in the system

Description

This function executes the make command to rebuild all dependencies according to the Makefile generated by makefile().

Usage

make(..., .stdout = "", .stderr = "", .stdin = "")

Value

Exit status of the command; see base::system2() for details.

Arguments

...

Command-line arguments passed to the make command (see ?make in your shell for details)

.stdout

Where to direct standard output; see base::system2().

.stderr

Where to direct standard error; see base::system2().

.stdin

Where to get standard input; see base::system2()

Author

Michal Burda

See Also

makefile(), rmakeSkeleton()

Examples

Run this code
if (FALSE) {
  make()        # make all
  make('clean') # make the 'clean' task
  make('-j', 4) # make with 4 processes in parallel
}

Run the code above in your browser using DataLab