Created
September 4, 2019 03:29
-
-
Save pgstevenson/302a1a1012897e3388cea7bdc7414b84 to your computer and use it in GitHub Desktop.
Function to paste data from clipboard into R
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
paste_clip <- function(header = TRUE, ...) { | |
read.table("clipboard", sep = "\t", header = header, ...) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment