R/copyTable.R

Defines functions copyTable

Documented in copyTable

#' copyTable
#'
#' write data frame to clipboard
#'
#' @param df Data frame to copy to clipboard.
#' @param sep Separator
#' @param row.names Logical whether or not to include row names
#' @param ... Additional parameters passed to write.table
#'
#' @export



copyTable <- function(df, sep = "\t", row.names = FALSE, ...){
  write.table(df, "clipboard", sep = sep, row.names = row.names, ...)
}
brandonsie/bms documentation built on Feb. 16, 2020, 9:10 p.m.