Dexy Templates

Some R Examples

An example of using Dexy to document an R script in HTML, including referencing image files generated by the R script.

First we assign variables:

{{ d['code001.R|idio|rint|pyg']['assign-variables'] }}

Let's do some multiplication:

{{ d['code001.R|idio|rint|pyg']['multiply'] }}

Here's the source code of a graph:

{{ d['code001.R|idio|rint|pyg']['graph'] }}

Here is the graph: