Copy a data frame to clipboard (only works on MacOS)
Arguments
- x
tibble (or data frame) to be copied
- dec
number of decimals to round numeric columns to (default: 2)
Value
copy_tbl() returns the input x invisibly
Examples
if (FALSE) { # interactive()
monthly_data_example |> copy_tbl()
monthly_data_example |> copy_tbl(1)
}