Skip to content

Instantly share code, notes, and snippets.

@ramhiser
Created May 12, 2013 18:56
Show Gist options
  • Save ramhiser/5564529 to your computer and use it in GitHub Desktop.
Save ramhiser/5564529 to your computer and use it in GitHub Desktop.
Preferred Options Tidying R Source Code via formatR
tidy.source(source = "messy-code.r", file = "tidy-code.r", width.cutoff = 80, reindent.spaces = 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment