writeTable: Write the data fram (table) to a file.

Description Usage Arguments Examples

Description

Write the data fram (table) to a file.

Usage

1
2
3
4
writeTable(df, file, append = FALSE, quote = FALSE, sep = "\t",
  row.names = TRUE, col.names = TRUE, first.col.name = "row.names",
  msg.file = "file", msg.col = "columns", msg.row = "rows",
  verbose = TRUE, ...)

Arguments

df

A data frame.

file

If the file extension is csv, then use write.csv, otherwise use write.table.

first.col.name

The 1st column name when row.names == TRUE && col.names == TRUE. Default to "row.names".

...

Other arguments passed to write.table.

Examples

1

walterxie/ComMA documentation built on May 3, 2019, 11:51 p.m.