Description Usage Arguments Value Author(s) See Also Examples
Tables copied from spreadsheet or similar software into clipboard are usually
a character vector containing '\t'. This function parses the clipboard and tries
to coerce the string vector to a tibble. It is a wrapper of
readr:read_table2
. The arguments directly come from
read_table2
.
1 2 3 4 |
var_row |
integer, the row index of the header row. Default 1. If no header is needed, put it 0. If NULL, it will guess the colnames. |
col_names |
either TRUE, FALSE or a character vector of column names. |
col_types |
either of NULL, a cols() specification, or a string. See vignette("readr") for more details. |
locale |
the locale controls defaults that vary from place to place. |
n_max |
maximum number of records to read. |
guess_max |
maximum number of records to use for guessing column types. |
progress |
display a progress bar? By default it will only display in an interactive session and not while knitting a document. |
skip_empty_rows |
should blank rows be ignored altogether? i.e. If this option is TRUE then blank rows will not be represented at all. If it is FALSE then they will be represented by NA values in all the columns. |
A tibble (coerced using read_table2
). If fails, return NULL
Yiying Wang, wangy@aetna.com
read_table2
and clipboard
1 2 3 4 | ## Not run:
parse_clipb()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.