Skip to content

Instantly share code, notes, and snippets.

@MarkEdmondson1234
Created March 21, 2016 16:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarkEdmondson1234/b54cfceac4e834df258e to your computer and use it in GitHub Desktop.
Save MarkEdmondson1234/b54cfceac4e834df258e to your computer and use it in GitHub Desktop.
Write R messages in StOut to a file
Rscript -e "setwd('/srv/shiny-server/xxxxx/'); zz<-file('rscript.log', open='wt');sink(zz, type = 'm'); rmarkdown::render('getData.Rmd')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment