rscript: Execute an R script located in the exec directory of a...

Description Usage Arguments Author(s) References

Description

Execute an R script located in the exec directory of a package

Usage

1
2
rscript(package, script, arguments = commandArgs(TRUE), 
	run = TRUE, dir = "exec" )

Arguments

package

package in which the script is contained

script

name of the script, relative to the exec directory of the package

arguments

additional arguments. Typically used at the command line

run

logical. if TRUE the script is run. Otherwise the command is returned

dir

sub directory of the package, defaults to "exec"

Author(s)

Romain Francois <francoisromain@free.fr>

References

Writing R extensions


exec documentation built on May 2, 2019, 6:51 p.m.