Description Usage Arguments Source Examples
Wraps Rscript in a easy to use manner, exposing all R functions from the terminal. The github page provides more details with examples, highlights and caveats.
1 |
args |
Should always be: |
help_text |
A simple text to be displayed describing options and usage of this interface. Supplying this, replaces the default text. |
script_name |
Name of the script. This is used in the the help text. [funr] |
https://github.com/sahilseth/funr
1 2 3 4 5 6 7 8 9 10 11 12 | ## show funr help
## terminal version: funr -h
funr()
## show rnorm help
## terminal version: funr -h rnorm
render_funr(funr(args=c("-h", "rnorm")))
## Generate a few random numbers
## terminal version: funr rnorm n=10
render_funr(funr(args=c("rnorm", "n=10")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.