The run
package facilitates the deployment of R application bundled as R packages. It
will automatically install the package and its dependencies, and run the package's main()
function if it exists.
You can install the released version of run from CRAN with:
install.packages("run")
Suppose your application has been packaged as myapp_0.1.0.tar.gz
. To run your application,
run the following from the shell:
foo@bar:~$ Rscript -e "run::run('myapp_0.1.0.tar.gz')"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.