| robj | R Documentation |
Treats a data element rendered in a response (res$render) as
a data object and ultimately uses dput().
robj(obj)
obj |
R object to treat. |
For instance in a template, x <- [% var %] will not work with
res$render(data=list(var = "hello")) because this will be replace
like x <- hello (missing quote): breaking the template. Using robj one would
obtain x <- "hello".
Object of class "robj".
robj(1:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.