| done | R Documentation |
done collects the entire contents created so far using output
functions (such as out) and creates a
WebResult object that can be returned from the
run function
done(..., cmd = "html", type = "text/html; charset=utf-8")
... |
additional entries to appent to the output (or the actual content depending on the command) |
cmd |
interface command |
type |
content type |
Some objects can override the default command and type value. For
example, if the document consits solely of a plot then the content
type is taken from the plot and command changed to "tmpfile".
Returns a WebResult object that can be returned from the
run function.
out, WebResult
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.