ask_write.table: Ask first and write a table

Description Usage Arguments Author(s) See Also

View source: R/asks.R

Description

It works just like write.table, but ask first to avoid any unwanted automatic action in a script.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
ask_write.table(
  x,
  file = stop("'file' must be specified"),
  quote = FALSE,
  sep = "\t",
  na = "",
  row.names = FALSE,
  col.names = if (row.names == TRUE) NA else TRUE,
  ...,
  sortBy,
  yes = FALSE
)

Arguments

x, file, quote, sep, na, row.names, col.names, ...

Please refer to the description in write.table

sortBy

the column by which the rows will be sorted.

yes

for running in a script. If 'yes' is TRUE, then 'FUN' will be excuted without asking

Author(s)

Mun-Gwan Hong, mungwan@gmail.com

See Also

write.table


Rundmus/Useful2me-R_package documentation built on Nov. 13, 2020, 4:16 p.m.