The log file is opened in
opts$dir.output/opts$LOGFILE, but only if opts$fileMode==TRUE.
gdObj, an object of class TDMgdev. Pass this object on when calling tdmGraAndLogFinalize(opts,gdObj)
(if not, a warning is issued before the sink-closing-error occurs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.