.uri | R Documentation |
Function that is called in a carbon object to construct valid uri to send to browser
.uri(self, private, code)
self |
carbon self object |
private |
carbon private object |
code |
character, script to embbed into the uri |
carbon
if(interactive()){ x <- carbon$new('x <- 1') # populate from self$code x$uri() # enter manually x$uri(code = 'x <- y + 3') }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.