Message-ID: <7B740FBC-D38E-40D0-8871-E59583051A67@dcn.davis.CA.us>
Date: 2015-05-16T07:11:16Z
From: Jeff Newmiller
Subject: Template Engine for R
In-Reply-To: <CAFnz2-8Rr-6DyAdgA2_KmZG7WoQ5G6cQiMztV-uC_CGbuy2R-g@mail.gmail.com>
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.