Nothing
Code chunks can be referenced via <<label>>
. First, we define chunk-a
:
1 + 1
Then use it in chunk-b
(the reference needs to be on its own line):
f = function() { ( <<chunk-a>> )^3 } f()
If the reference is not found, <<>>
will not be resolved:
g = function() { # there is no chunk-z <<chunk-z>> }
Or you can disable the reference via ref.chunk = FALSE
:
# a literal string h = " <<chunk-a>> "
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.