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…
Nine