read.cb: Read from the clipboard

View source: R/read.cb.R

read.cbR Documentation

Read from the clipboard

Description

Read tabular data from the clipboard.

Usage

read.cb(header = TRUE, ...)

Arguments

header

A logical value indicating whether the file contains the names of the variables as its first line. Overrides the default header=FALSE option in read.table().

...

Further arguments to be passed to read.table

Value

A data.frame

Examples

## Not run: 
# To read CSV data with a header from the clipboard:
read.cb(header=TRUE, sep=',')

## End(Not run)


Tmisc documentation built on Aug. 23, 2023, 1:07 a.m.