Description Usage Arguments Value References See Also Examples
Get path current running script
1 | opt_get_path(opts = commandArgs(), full.name = FALSE)
|
opts |
character; cector from which to parse options
(default: |
full.name |
boolean; expand to full path(?) This function is deprecated, use |
character; path to Rscript or NA
if there isn't one.
http://stackoverflow.com/questions/1815606/rscript-determine-path-of-the-executing-script
opt_grab()
base::commandArgs()
1 2 | optigrab:::opt_get_path()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.