OutputWidget.Rd
Classes and constructors to wrap output created by code
OutputWidget(append_output = FALSE, ...)
# S3 method for OutputWidget
with(data, expr, envir = list(), enclos = parent.frame(), ...)
Logical value, whether new output is appended to existing output in the widget or the output is overwritten
Other arguments, ignored.
An "OutputWidget" object
An expression to evaluate, or a sequence of expression, encapsulated by curly braces.
A list or environment within which the evaluation takes place
An enclosing environment.
RKernel::HasTraits
-> RKernel::Widget
-> RKernel::DOMWidget
-> OutputWidget
_view_name
Name of the Javascript model view in the frontend
_model_name
Name of the Javascript model in the frontend
_view_module
Name of the module where the view is defined
_model_module
Name of the Javascript module with the model
_view_module_version
Version of the module where the view is defined
_model_module_version
Version of the module where the model is defined
msg_id
Unicode string with the id of the last message sent to the frontend.
outputs
A list with output strings
context
NULL or (after initialization) an object inclass
"Context" -- see Context
.
Inherited methods
RKernel::HasTraits$notify()
RKernel::HasTraits$observe()
RKernel::HasTraits$validate()
RKernel::Widget$_send()
RKernel::Widget$check_version()
RKernel::Widget$close()
RKernel::Widget$display_data()
RKernel::Widget$finalize()
RKernel::Widget$get_state()
RKernel::Widget$handle_buffers()
RKernel::Widget$handle_comm_msg()
RKernel::Widget$handle_comm_opened()
RKernel::Widget$handle_custom_msg()
RKernel::Widget$handle_displayed()
RKernel::Widget$handle_event()
RKernel::Widget$on_displayed()
RKernel::Widget$on_event()
RKernel::Widget$on_msg()
RKernel::Widget$open()
RKernel::Widget$send()
RKernel::Widget$send_state()
RKernel::Widget$set_state()
RKernel::DOMWidget$add_class()
RKernel::DOMWidget$has_class()
RKernel::DOMWidget$remove_class()
new()
Initializing function
OutputWidgetClass$new(
append_output = TRUE,
envir = new.env(),
use_display = FALSE,
...
)
append_output
Logical, whether existing output should be appended to or overwritten.
envir
An environment, where expressions are evaluated.
use_display
Logical, whether the display mechanism is used internally for output streams.
...
Any other arguments, passed to the superclass initializer.
eval()
Evaluate a single expression
expr
The expression to be evaluated
...
Any arguments, passed on to the 'evaluate' method of the Context
class,
evaluate()
Evaluate a single expression
expressions
A list of expressions.
...
Further arguments, passed on to the 'eval' method of the Context
class,
display()
A variant of display
for output within a display widget.
...
Further arguments, passed on to the 'evaluate' method of the Context
class,
print()
Show printed output in the widget area, see print
x
Any argument to be 'print'ed
...
Further arguments to be passed to print