clipper: Put items from R onto your cliboard (Windows)

Description Usage Arguments Details Author(s) See Also Examples

View source: R/clipper.R

Description

Useful shortcut to put small objects on your clipboard. Works well with Excel.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
clipper(
  x,
  quote = TRUE,
  sep = "\t",
  eol = "\n",
  na = "",
  dec = ".",
  row.names = FALSE,
  col.names = TRUE,
  qmethod = c("escape", "double")
)

Arguments

x

Object to be written to clipboard.

Details

Only works in Windows. Only works for simple objects, like 0, 1, and 2 dimensional objects.

Author(s)

Gene Leynes

See Also

clipboard,

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
	## Not run: 

     require(geneorama)

	## Copy a 10 by 10 matrix to your clipboard, and paste into a
	## spreadsheet or other file.
	clipper(matrix(rnorm(100),10,10))
	
## End(Not run)

## New version based on:
## https://stackoverflow.com/questions/10959521/how-to-write-to-clipboard-on-ubuntu-linux-in-r

geneorama/geneorama documentation built on Oct. 17, 2020, 12:35 a.m.