These functions allows interacting with the system clipboard. It is possible read from the clipboard or write a data frame or matrix to the clipboard.
clip_read()
read data from the clipboard.
clip_write()
write data to the clipboard.
clip_read(header = TRUE, sep = "\t", ...)clip_write(.data, sep = "\t", row_names = FALSE, col_names = TRUE, ...)
Nothing
If the copied data has a header row for dataFrame, defaults to
TRUE
.
The separator which should be used in the copied output.
Further arguments to be passed to utils::read.table()
.
The data that should be copied to the clipboard. Only data frames and matrices are allowed
Decides if the output should keep row names or not, defaults
to FALSE
.
Decides if the output should keep column names or not,
defaults to TRUE
.
Tiago Olivoto tiagoolivoto@gmail.com