[R] Template Engine for R

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Sat May 16 09:11:16 CEST 2015


Not familiar with your examples, but knitr relies on R for control flow and whisker for template substitution, so it kind of seems unnecessary to have yet another syntax for control flow.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

On May 15, 2015 11:34:44 PM PDT, Luca Cerone <luca.cerone at gmail.com> wrote:
>Dear all,
>I am looking for a template engine for R.
>
>I have already come across {{mustache}} and its R implementation
>whisker,
>however I am looking for something with a few more features like "if
>blocks",
>"for loop", "block inheritance" and so on (for those of you who
>are familiar with Python I am looking for something like Jinja2 or
>Mako).
>
>I searched in google, but the only option for R seems whisker.
>
>Can any of you recommend me some alternatives?
>
>Thanks a lot in advance for the help!
>
>Cheers,
>Luca
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list