Insert content to Linux X11 clipboard
Insert content to Linux X11 clipboard (uses 'xclip')
Toclip(x, sep="\t", row.names=FALSE, col.names=TRUE, ...)
x
: Data framesep
: Separator, tab by defaultrow.names
: FALSE by defaultcol.names
: TRUE by default...
: Arguments to 'write.table()'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.
Alexey Shipunov
## Not run: aa <- data.frame(1:3) # Linux- (and X11-) specific Toclip(aa) # then load the content into spreadsheet ## End(Not run)
Useful links