shiny (version 0.2.3)

reactivePrint: Printable Output

Description

Makes a reactive version of the given function that also turns its printable result into a string. The reactive function is suitable for assigning to an output slot.

Usage

reactivePrint(func)

Arguments

func
A function that returns a printable R object.

Details

The corresponding HTML output tag can be anything (though pre is recommended if you need a monospace font and whitespace preserved) and should have the CSS class name shiny-text-output.

The result of executing func will be printed inside a capture.output call.