Author: [email protected]

Uncategorized

R Markdown & the Shell

Running R in batch mode on Linux http://www.cureffi.org/2014/01/15/running-r-batch-mode-linux/ http://www.rexamples.com/8/How%20to%20run%20the%20code Run a bash script from an R script https://stackoverflow.com/questions/11395217/run-a-bash-script-from-an-r-script https://bash-intro.rsquaredacademy.com/r-command-line.html Run RMarkdown with arguments on the command line Adding

Uncategorized

Test Jupiter and Rstudio

https://stackoverflow.com/questions/49904943/run-rmarkdown-with-arguments-on-the-command-line Adding the myarg object as a parameter is the way to go: Rscript -e “rmarkdown::render(‘example.Rmd’,params=list(args = myarg))” And then add the parameter to your Rmd file: Documentation on parameterized reports here: https://rmarkdown.rstudio.com/developer_parameterized_reports.html