Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I get textual output of commands from Rserve?

commands output rserve textual
0
Posted

How do I get textual output of commands from Rserve?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123