publish_mimebundle {IRdisplay} | R Documentation |
Calls the function stored as option value of jupyter.base_display_func
. (see: IRdisplay-options)
publish_mimebundle(data, metadata = NULL)
data |
A named list mapping mimetypes to content ( |
metadata |
A named list mapping mimetypes to named lists of metadata, e.g. |
## Not run: ## (Run inside of an IRkernel) publish_mimebundle(list('text/html' = '<h1>Hi!</h1>')) publish_mimebundle( list('image/svg+xml' = '<svg xmlns="http://www.w3.org/2000/svg"><circle r="100"/></svg>'), list('image/svg+xml' = list(width = 100, height = 100))) ## End(Not run)