output.file {iotools} | R Documentation |
Writes any R object to a file or connection using an output
formatter. Useful for pairing with the input.file
function.
output.file(x, file, formatter.output = NULL)
x |
R object to write to the file |
file |
the input filename as a character string or a connection object open for writting. |
formatter.output |
a function for formatting the output. Using null
will attempt to find the appropriate method given the class of the input
|
invisibly returns the input to file
.
Taylor Arnold and Simon Urbanek