The clipExcel function takes in a tibble / dataframe and arguments for row and column names. Its only return value is that tibble copied to the clipboard in a format that can be easily pasted to Excel Taken from https://stackoverflow.com/questions/24704344/copy-an-r-data-frame-to-an-excel-spreadsheet

Usage,
clipExcel(x, row.names = FALSE, col.names = TRUE, na = "", ...)

Arguments

x

A tibble.

row.names

Logical, include row names?

col.names

Logical, include column names?

na

What to do with NA values? Default to blank

...

Any further arguments to write.table

Examples

 clipExcel(iris)