Description Usage Arguments Value Examples
add calls such as output$plot()
to a code block. helpful
for adding function call to a independent R script such that output gets
drawn at end of script.
1 | append_output_calls(x, ..., dots = list(), after = length(x))
|
x |
code block to which output calls will be appended |
... |
names of outputs to be called as character |
dots |
optionally pass ellipses arguments as list |
after |
position at which to create calls |
code block with calls to output functions appended
1 2 3 4 5 | code <- quote({
a <- 1
})
scriptgloss:::append_output_calls(code, 'plot', 'table', 'text')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.