copy_df {wpa} | R Documentation |
Copy a data frame to clipboard for pasting in Excel
Description
This is a pipe-optimised function, that feeds into wpa::export()
,
but can be used as a stand-alone function.
Based on the original function from https://github.com/martinctc/surveytoolbox.
Usage
copy_df(x, row.names = FALSE, col.names = TRUE, quietly = FALSE, ...)
Arguments
x |
Data frame to be passed through. Cannot contain list-columns or nested data frames. |
row.names |
A logical vector for specifying whether to allow row names.
Defaults to |
col.names |
A logical vector for specifying whether to allow column
names. Defaults to |
quietly |
Set this to TRUE to not print data frame on console |
... |
Additional arguments for write.table(). |
Value
Copies a data frame to the clipboard with no return value.
See Also
Other Import and Export:
create_dt()
,
export()
,
import_to_fst()
,
import_wpa()
,
standardise_pq()
[Package wpa version 1.9.1 Index]