data_to_clipboard: Write Data To Clipboard

Description Usage Arguments Value Examples

View source: R/export.r

Description

Write RAS data to clipboard in comma-separated format for pasting into e.g. Microsoft Excel. Note that the clipboard is only supported Windows platforms.

Usage

1
data_to_clipboard(d, header = TRUE)

Arguments

d

The data table.

header

If TRUE, write the column names to the first row.

Value

Writes the data table to the clipboard in tab-separated format.

Examples

1
2
3
4
5
6
7
## Not run: 
simple.quasi = system.file("sample-data/SampleQuasiUnsteady.hdf",
  package = "RAStestR")
quasi.flow = read_standard(simple.quasi, "Flow")
data_to_clipboard()

## End(Not run)

mkoohafkan/RAStestR documentation built on July 14, 2019, 11:41 p.m.