An R package to facilitate attachments of tables and figures within a pdf
(created with LaTeX + knitr) using the attachfile
LaTeX package. This package
works on top of knitr
.
fig_cap
function that creates a caption and (if wanted) pastes on
a attachment "link" to the corresponding plot.tab_cap
functions that creates a caption, writes an object to file,
and created an attachment link to this file.tab.cap
chunk hook analogous to knitr's fig.cap
.See the vignette for details.
Installation is easy with the devtools
package.
library(devtools)
install_github("renlund/attacher")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.