| get_outputs | R Documentation |
eval_code evaluates code silently so plots and prints don't show up in the console or graphic devices.
If one wants to use an output outside of the qenv (e.g. use a graph in renderPlot) then use get_outputs.
get_outputs(object)
object |
( |
list of outputs generated in a 'qenv“
q <- eval_code(
qenv(),
quote({
a <- 1
print("I'm an output")
plot(1)
})
)
get_outputs(q)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.