Toclip: Insert content to Linux X11 clipboard

View source: R/aaa.r

ToclipR 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)

shipunov documentation built on Feb. 16, 2023, 9:05 p.m.

Related to Toclip in shipunov...