Skip to content

Instantly share code, notes, and snippets.

@nuada
Created April 25, 2016 09:33
Show Gist options
  • Save nuada/1b25af8c47b9ba333c73274ece04fd2e to your computer and use it in GitHub Desktop.
Save nuada/1b25af8c47b9ba333c73274ece04fd2e to your computer and use it in GitHub Desktop.
Render R script with embedded Markdown to HTML.
#!/usr/bin/Rscript
library(rmarkdown)
rmarkdown::render("your-script.R")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment