read_clipboard | R Documentation |
A wrapper function to write.table
for reading from the clipboard. Useful to quickly read data copied from a table or spreadsheet.
read_clipboard(
header = T,
sep = "\t",
na.strings = c("", "NA"),
check.names = T,
stringsAsFactors = F,
dec = ".",
...
)
header |
(lgl) Whether to use the first row as headers (column names). |
sep |
(chr) Which separator to use. |
na.strings |
(chr) Which cell values to interpret as missing data. |
check.names |
(lgl) Whether to convert illegal names to legal ones using |
stringsAsFactors |
(lgl) Whether to automatically convert strings to factors (GOD PLEASE NO). |
dec |
(chr) Which symbol to interpret as decimal separator. |
... |
Any other arguments passed to |
iris[-5] %>% cor %>% write_clipboard
iris %>% head %>% miss_add_random %>% write_clipboard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.