Learn R Programming

Kmisc (version 0.5.0)

read.cb: Read Tabular Data from the Clipboard

Description

Convenience function for reading tabular data from the clipboard. The function checks the system OS and provides the appropriate wrapper call to read.table.

Usage

read.cb(sep = "\t", header = TRUE, ...)

Arguments

sep
the delimiter used in the copied text.
header
boolean; does the first row contain column names?
...
optional arguments passed to read.table.

See Also

read.table

Examples

Run this code
## with some data on the clipboard, simply write
# x <- read.cb()

Run the code above in your browser using DataLab