Skip to content

Instantly share code, notes, and snippets.

@gcatlin
Created February 9, 2012 19:19
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 gcatlin/1782206 to your computer and use it in GitHub Desktop.
Save gcatlin/1782206 to your computer and use it in GitHub Desktop.
Bash one-liner to generate a histogram using R
r --vanilla --slave -e 'x<-c(1,1,1,2,2,3,3,3,3);hist(x)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment