Home

Awesome

copydat

What is it?

copydat lets you copy a data.frame to the clipboard using the ...

... RStudio GUI. Just highlight (in your source console) the name of the data.frame you want to copy. (Examples: iris; mtcars). Click Addins > Copy data, and you're done.

... R console. Like this: mtcars %>% Copy(dat2tsv) # or dat2rtf. Paste away!

Supported formats:

It's a work in progress. TODO:

Thanks to @Rstudio and @kevinushey for RStudio Addins and the great examples. And thanks to @schaffman5 for the rtf package!

Installation

if (!requireNamespace("devtools", quietly = TRUE))
  install.packages("devtools")

devtools::install_github("BAAQMD/copydat")