rscript: Rscript

View source: R/sourcing.R

rscriptR Documentation

Rscript

Description

Implements Rscript with system2

Usage

rscript(x, ops = NULL, args = NULL, ...)

Arguments

x

An R file to run

ops

A character vector of options ("--" is added to each)

args

A character vector of other arguments to pass

...

Additional arguments passed to system2

Value

A character vector of the result from calling Rscript via system2()

See Also

source_to_env


jmbarbone/jordan documentation built on April 1, 2024, 7:46 p.m.