Skip to content

Instantly share code, notes, and snippets.

@mages mages/snip.R

Created Jan 11, 2018
What would you like to do?
Mac: Copy R data frame to clipboard
snip <- function(input) {
pb <- pipe("pbcopy", "w")
write.table(input, sep="\t", file=pb, row.names = FALSE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.