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")Returns a WebResult object that can be returned from the
run function.
additional entries to appent to the output (or the actual content depending on the command)
interface command
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".
out, WebResult