Theo Pepler
Home | Research | Teaching | Software | Links | HOWTO'sHOWTO: RENDER AN R MARKDOWN DOCUMENT FROM THE COMMAND LINE
- You should have pandoc installed on the system. You can check this with
which pandoc
or install it with
sudo apt install pandoc
- Then from the command line, use
Rscript -e "rmarkdown::render('inputfile.Rmd')"
where inputfile.Rmd is the R markdown file you want to produce output for.