-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
I see that writeClip has an option to write to the Linux clipboard, however, readClip does not. Is this functionality going to exist for Linux in the readClip function as well?
readClip <- function(){
OS <- Sys.info()["sysname"]
cliptext <- switch(OS,
Darwin = {
con <- pipe("pbpaste")
text <- readLines(con)
close(con)
text
},
Windows = readClipboard(),
readLines("clipboard"))
cliptext
}
Reactions are currently unavailable