output.file {iotools} | R Documentation |
Write an R object to a file as a character string
Description
Writes any R object to a file or connection using an output
formatter. Useful for pairing with the input.file
function.
Usage
output.file(x, file, formatter.output = NULL)
Arguments
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
|
Value
invisibly returns the input to file
.
Author(s)
Taylor Arnold and Simon Urbanek
[Package iotools version 0.3-5 Index]