How do I get textual output of commands from Rserve?
Rserve doesn’t return any output printed by the evaluated expressions. The idea is to return data in binary form, which is faster and more flexible. Nevertheless sometimes it may be convenient to simply reproduce the printed output given in R (such as a model summary). The R function capture.output can be used for that purpose – it returns a vector of strings (each entry correspnds to one line of output).
Related Questions
- I like the window that runs DOS commands with output capture to start full screen, and to have specific tuning details set. How can I do this?
- Can Statit e-QC perform a drill-down on textual reports, such as tabular output from a database query?
- How do I pipe batch output, including commands and responses, to a log file?