render_str | R Documentation |
If the output of str()
is long, user can easily get lost in scrolling.
This function convert output into html with tag classes and render it with
style. You can customize the style by experimenting with chrome/firefox
developer tools first, then save to css. The css is located in
system.file("css", "str_render.css", package = "mischelper")
render_str(obj)
obj |
the object/variable to be inspected |
By default a browser window will be opened because it is intended for long
output. The info
label and the name of input object are added for clarity. Since they are not part of original str()
output, (info)
are used.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.