Description Usage Arguments Note Author(s) Examples
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).
1 | from_clipboard(sep = "\t", header = TRUE)
|
sep |
The delimiter for columns. |
header |
If the data contains headers. |
dec |
Decimal sign |
encoding |
The encoding to use when writing. |
This function only works on Windows or OSX, and the data-size cannot exceed 128kb in Windows.
Kristian D. Olsen
1 | x <- from_clipboard()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.