Created
August 8, 2016 03:22
-
-
Save sillasgonzaga/a426b8dafafa5494351718ec339ce170 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# source: http://stackoverflow.com/a/21030800/4577128 | |
clipboard <- function(x, sep="\t", row.names=FALSE, col.names=TRUE){ | |
con <- pipe("xclip -selection clipboard -i", open="w") | |
write.table(x, con, sep=sep, row.names=row.names, col.names=col.names) | |
close(con) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment