Skip to content

templating library for R

2 messages · Ido M. Tamir, Gabor Grothendieck

#
Hi,

does anybody know of a templating library for R,
like velocity or freemarker?

It doesn't have to be very fancy just a bit
better than sub in replacing tags in a text (not
necessarily html) file.

thank you very much for your answer.

Ido
#
I am not familiar with velocity or freemarker but
the gsubfn package can do string interpolation
somewhat similar to perl.  The gsubfn and strapply
functions in that package can handle arbitrary regular
expressions in a similar way. See:

http://code.google.com/p/gsubfn/
On 12/7/06, Ido M. Tamir <tamir at imp.univie.ac.at> wrote: