capture.output(..., file = NULL, append = FALSE)
- Expressions to be evaluated.
- A file name or a connection, or
NULLto return the output as a character vector. If the connection is not open, it will be opened initially and closed on exit.
- logical. If
filea file name or unopened connection, append or overwrite?
A character string (if
file = NULL), or invisible
Documentation reproduced from R 3.0.1. License: GPL-2.