display_data.Rd
A generic function that prepares R objects for display using display()
display_data(x, ...)
# S3 method for default
display_data(
x,
...,
data,
metadata = emptyNamedList,
id = UUIDgenerate(),
update = FALSE
)
# S3 method for htmlwidget
display_data(
x,
...,
metadata = emptyNamedList,
id = UUIDgenerate(),
update = FALSE
)
# S3 method for recordedplot
display_data(
x,
width = getOption("jupyter.plot.width", 6),
height = getOption("jupyter.plot.height", 6),
pointsize = getOption("jupyter.plot.pointsize", 12),
resolution = getOption("jupyter.plot.res", 150),
scale = getOption("jupyter.plot.scale", 0.5),
units = getOption("jupyter.plot.units", "in"),
metadata = emptyNamedList,
id = UUIDgenerate(),
update = FALSE,
...
)
# S3 method for display_data
display_data(x, ...)
# S3 method for update_display_data
display_data(x, ...)
# S3 method for display_data
update(object, ...)
# S3 method for help_files_with_topic
display_data(x, ..., id = UUIDgenerate(), update = FALSE)
# S3 method for hsearch
display_data(x, ..., id = UUIDgenerate(), update = FALSE)
# S3 method for data.frame
display_data(
x,
...,
metadata = emptyNamedList,
id = UUIDgenerate(),
update = FALSE
)
# S3 method for matrix
display_data(
x,
...,
metadata = emptyNamedList,
id = UUIDgenerate(),
update = FALSE
)
# S3 method for html_elem
display_data(
x,
...,
metadata = emptyNamedList,
id = UUIDgenerate(),
update = FALSE
)
# S3 method for shiny.tag
display_data(
x,
...,
metadata = emptyNamedList,
id = UUIDgenerate(),
update = FALSE
)
# S3 method for iframe
display_data(
x,
...,
metadata = emptyNamedList,
id = attr(x, "id"),
update = FALSE
)
# S3 method for Widget
display_data(x, ..., metadata = emptyNamedList, id = uuid(), update = FALSE)
An object
Optional arguments tagged by mime types with mime data
A list with named elements, containing mime data
A list with named elements, containing metadata
An identifier string
A logical value, whether a new display item should be created or an existing one should be updated
Width of the diplayed plot
Height of the displayed plot
Point size, see png
Resolution in ppi, see png
The amount by which the plots are scaled in the frontend
Units of width and height, see png
An object of class "display_data"
An object of class "display_data"
display_data(default)
: Default method
display_data(htmlwidget)
: S3 method for html widgets
display_data(recordedplot)
: S3 method for plots saved with 'recordPlot()'
display_data(display_data)
: S3 method for "display_data" objects
display_data(update_display_data)
: S3 method for "update_display_data" objects
display_data(help_files_with_topic)
: S3 method for help pages
display_data(hsearch)
: S3 method for results of 'help.search()'
display_data(data.frame)
: S3 method for class 'data.frame'
display_data(matrix)
: S3 method for matrices
display_data(html_elem)
: S3 method for "html_elem" objects (see html
)
display_data(shiny.tag)
: S3 methods for shiny
objects
display_data(iframe)
: S3 methods for "iframe" objects
display_data(Widget)
: Method for jupyter widgets
update(display_data)
: "update" method for "display_data" objects