Description Usage Arguments Value Examples
View source: R/BrowserViz-class.R
The semantics of toJSON changed between RJSONIO and jsonlite: in the latter, scalars are promoted to arrays of length 1. rather than change our javascript code, and since such promotion – while sensible in the context of R – strikes me as gratuitous, I follow jeroen ooms suggestion, creating this wrapper
1 |
... |
Extra arguments passed to this function |
auto_unbox |
Logical |
a character string with the JSON representation of the R object
1 | toJSON(data.frame(a=8:10, b=LETTERS[8:10], stringsAsFactors=FALSE))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.