| as.output {iotools} | R Documentation |
Create objects of class output.
as.output(x, ...)
x |
object to be converted to an instance of |
... |
optional arguments to be passed to implementing methods
of |
as.output is generic, and methods can be written to support
new classes. The output is meant to be an character vector suitable for
writing to the disk or sending over a connection.
as.output.default outputs a character vector by default, though
other formats (such as a raw vector) may be returned by other methods.
Simon Urbanek
m = matrix(sample(letters), ncol=2) as.output(m) df = data.frame(a = sample(letters), b = runif(26), c = sample(state.abb,26)) as.output(df)