Description Usage Arguments Author(s) References
Execute an R script located in the exec directory of a package
1 2 | rscript(package, script, arguments = commandArgs(TRUE),
run = TRUE, dir = "exec" )
|
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" |
Romain Francois <francoisromain@free.fr>
Writing R extensions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.