A generic function that prepares R objects for display using display()
Usage
display_data(x, ...)
# Default S3 method
display_data(
x,
...,
data,
metadata = emptyNamedList,
id = UUIDgenerate(),
update = FALSE
)
# S3 method for class 'htmlwidget'
display_data(
x,
...,
metadata = emptyNamedList,
id = UUIDgenerate(),
update = FALSE
)
# S3 method for class 'display_data'
display_data(x, ...)
# S3 method for class 'update_display_data'
display_data(x, ...)
# S3 method for class 'display_data'
update(object, ...)
# S3 method for class 'data.frame'
display_data(
x,
...,
metadata = emptyNamedList,
id = UUIDgenerate(),
update = FALSE
)
# S3 method for class 'matrix'
display_data(
x,
...,
metadata = emptyNamedList,
id = UUIDgenerate(),
update = FALSE
)
# S3 method for class 'html_elem'
display_data(
x,
...,
metadata = emptyNamedList,
id = UUIDgenerate(),
update = FALSE
)
# S3 method for class 'shiny.tag'
display_data(
x,
...,
metadata = emptyNamedList,
id = UUIDgenerate(),
update = FALSE
)
# S3 method for class 'shiny.tag.list'
display_data(
x,
...,
metadata = emptyNamedList,
id = UUIDgenerate(),
update = FALSE
)
# S3 method for class 'iframe'
display_data(
x,
...,
metadata = emptyNamedList,
id = attr(x, "id"),
update = FALSE
)
# S3 method for class 'htmlTable'
display_data(
x,
...,
metadata = emptyNamedList,
id = UUIDgenerate(),
update = FALSE
)
# S3 method for class 'tableHTML'
display_data(
x,
...,
metadata = emptyNamedList,
id = UUIDgenerate(),
update = FALSE
)
# S3 method for class 'help_files_with_topic'
display_data(
x,
...,
id = UUIDgenerate(),
update = FALSE,
embedded = FALSE,
include_button = TRUE
)
# S3 method for class 'hsearch'
display_data(x, ..., id = UUIDgenerate(), update = FALSE)
# S3 method for class 'Widget'
display_data(x, ..., metadata = emptyNamedList, id = uuid(), update = FALSE)
Arguments
- x
An object
- ...
Optional arguments tagged by mime types with mime data
- data
A list with named elements, containing mime data
- metadata
A list with named elements, containing metadata
- id
An identifier string
- update
A logical value, whether a new display item should be created or an existing one should be updated
- object
An object of class "display_data"
Methods (by class)
display_data(default)
: Default methoddisplay_data(htmlwidget)
: S3 method for html widgetsdisplay_data(display_data)
: S3 method for "display_data" objectsdisplay_data(update_display_data)
: S3 method for "update_display_data" objectsdisplay_data(data.frame)
: S3 method for class 'data.frame'display_data(matrix)
: S3 method for matricesdisplay_data(html_elem)
: S3 method for "html_elem" objects (seehtml
)display_data(shiny.tag)
: S3 methods for "shiny.tab" objectsdisplay_data(shiny.tag.list)
: S3 methods for "shiny.tab.list" objectsdisplay_data(iframe)
: S3 methods for "iframe" objectsdisplay_data(htmlTable)
: S3 methods for "htmlTable" objectsdisplay_data(tableHTML)
: S3 methods for "tableHTML" objectsdisplay_data(help_files_with_topic)
: S3 method for help pagesdisplay_data(hsearch)
: S3 method for results of 'help.search()'display_data(Widget)
: Method for jupyter widgets