from_clipboard: Read from Windows/OSX clipboard

Description Usage Arguments Note Author(s) Examples

Description

Thin wrapper for reading from windows/OSX clipboards with the most-used defaults. The function first reads in the lines, checks if the delimiter is present in the lines and then converts it to a data.frame. The parameters are passed to this last step (read.table).

Usage

1
from_clipboard(sep = "\t", header = TRUE)

Arguments

sep

The delimiter for columns.

header

If the data contains headers.

dec

Decimal sign

encoding

The encoding to use when writing.

Note

This function only works on Windows or OSX, and the data-size cannot exceed 128kb in Windows.

Author(s)

Kristian D. Olsen

Examples

1

itsdalmo/reporttool documentation built on May 18, 2019, 7:11 a.m.