Skip to content

Instantly share code, notes, and snippets.

@Dulani
Last active October 18, 2018 21:20
Show Gist options
  • Save Dulani/0d4e123c8c88b2761a09167803bac9ef to your computer and use it in GitHub Desktop.
Save Dulani/0d4e123c8c88b2761a09167803bac9ef to your computer and use it in GitHub Desktop.
Little things I always have to look up for R Markdown notebooks.

Set up the notebook so that it automatically hides the code chunks in the .nb.html:

output: 
  html_notebook:
    code_folding: hide

Print more table output rows for a particular chunk: {r, rows.print = 20}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment