Skip to content

Instantly share code, notes, and snippets.

@atbradley
Created July 18, 2012 19:30
Show Gist options
  • Save atbradley/3138294 to your computer and use it in GitHub Desktop.
Save atbradley/3138294 to your computer and use it in GitHub Desktop.
Configure RStudio to generate fragments, not full webpages, from R Markdown
library(markdown)
options(rstudio.markdownToHTML =
function(i,o) {
markdownToHTML(i,o,fragment.only=TRUE)
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment