Skip to content

Instantly share code, notes, and snippets.

@alexland
Created July 3, 2013 22:45
Show Gist options
  • Save alexland/5923514 to your computer and use it in GitHub Desktop.
Save alexland/5923514 to your computer and use it in GitHub Desktop.
add commas to numbers comprising various R objects (eg, tables)
print_fn = function(x) {print(format(x, big.mark=','), quote=F)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment