|
@@ -4,7 +4,20 @@ This plugin helps you creating posts with knitr's RMarkdown files.
|
|
|
[knitr](http://yihui.name/knitr/) is a template engine which executes and displays embedded R code.
|
|
|
So, being short you can write an executable paper with codes, formulas and graphics.
|
|
|
|
|
|
-## Dependencies
|
|
|
+## Loading
|
|
|
+
|
|
|
+It is a good idea to load `rmd_reader` at last.
|
|
|
+It uses settings loaded at runtime and it is important to be sure that all settings have been loaded.
|
|
|
+
|
|
|
+```
|
|
|
+PLUGINS = ['sitemap',
|
|
|
+ 'summary',
|
|
|
+ ...
|
|
|
+ 'render_math',
|
|
|
+ 'rmd_reader'] # put it here!
|
|
|
+```
|
|
|
+
|
|
|
+## Dependency
|
|
|
|
|
|
This plugin needs [rpy2](https://pypi.python.org/pypi/rpy2) to work.
|
|
|
Install it with:
|
|
@@ -24,7 +37,7 @@ R> install.packages('knitr')
|
|
|
|
|
|
The plugin detects RMD files ending with `.Rmd` or `.rmd` so you only have to write a RMarkdown files inside `content` directory.
|
|
|
|
|
|
-This plugin calls R to process these files and generates markdown files that are processed by Python Markdown (with `meta`, `codehilite(css_class=highlight)`, and `extra` extensions) before returning the content and metadata to pelican engine.
|
|
|
+This plugin calls R to process these files and generates markdown files that are processed by Pelican's `MarkdownReader` in order to generate html files from ordinary `.md` files.
|
|
|
|
|
|
### Plotting
|
|
|
|