install.package("rmarkdown")
how to render Rmd file through terminal command line after $ssh username
$ echo "rmarkdown::render('sample.Rmd', clean=TRUE)" | R --slave
$ Rscript -e "rmarkdown::render('sample.Rmd', clean=TRUE)”
Need to have "pandoc" package on X11 or Linux machines.
$pandoc -v
No comments:
Post a Comment