Learn R Programming

IRdisplay (version 0.4.1)

display: Create and use multiple available reprs

Description

Both functions create a mimebundle for multiple reprs. display proceeds to publish it using publish_mimebundle. prepare_mimebundle returns it (see Value for details)

Usage

display(obj)
prepare_mimebundle(obj, mimetypes = getOption("jupyter.display_mimetypes"), metadata = NULL, error_handler = stop)

Arguments

obj
The object to create representations for
mimetypes
Mimetypes to create reprs for
metadata
Metadata to attach to the result (can be expanded by additional metadata)
error_handler
Function used when errors in individual reprs occur

Value

prepare_mimebundle returns a list with items corresponding to the parameters of publish_mimebundle (data and metadata)

See Also

publish_mimebundle