Learn R Programming

Kmisc (version 0.2.0)

write.cb: Write Tabular Data to the Clipboard

Usage

write.cb(dat, row.names = FALSE, col.names = TRUE,
    sep = "", quote = FALSE)
dat{the data file you want to write out; passed to
  write.table.}

row.names{logical. include the row names of dat?}

col.names{logical. include the column names of dat?}

sep{the delimiter used to separate elements after exporting dat.}

quote{logical. include quotes around character vectors in dat?}

Directs output of write.table to the clipboard. This can be useful if you want to quickly write some R table out and paste it into some other file, eg. a Word document, Excel table, etc. write.table

Arguments