Toclip {shipunov} | R Documentation |
Insert content to Linux X11 clipboard
Description
Insert content to Linux X11 clipboard (uses 'xclip')
Usage
Toclip(x, sep="\t", row.names=FALSE, col.names=TRUE, ...)
Arguments
x |
Data frame |
sep |
Separator, tab by default |
row.names |
FALSE by default |
col.names |
TRUE by default |
... |
Arguments to 'write.table()' |
Details
Linux-specific. Inserts data frame to Linux X11 clipboard (not primary or secondary). Useful for interface with spreadsheets.
Works if 'xclip' utility is already installed.
Alternative with more flexibility: 'clipr' package.
Author(s)
Alexey Shipunov
Examples
## Not run:
aa <- data.frame(1:3) # Linux- (and X11-) specific
Toclip(aa) # then load the content into spreadsheet
## End(Not run)
[Package shipunov version 1.17.1 Index]