write_excel: Copy data frame to clipboard

Description Usage Arguments Value Author(s) Examples

View source: R/write_excel.R

Description

Copies data frame to clipboard. Usually used when you want to copy data frame to Excel. Just run function with desired df and press Paste or CTRL + V to paste it in the desired place. This function is like pressing CTRL + C on a dataframe. It should work on MAC and Windows.

Usage

1
write_excel(x, row.names = FALSE, col.names = TRUE, ...)

Arguments

x

Data frame to be copied.

row.names

(boolean) Should row names be copied? Default: FALSE

col.names

(boolean) should column names be copied? Default: TRUE

...

parameters forwarded to write.table

Value

None

Author(s)

Elio Bartoš

Examples

1
2
x = data.frame(var1 = c(0, 1), var2 = c(3, 4))
write_excel(x)

eliobartos/misc documentation built on Oct. 8, 2021, 1:10 a.m.