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 <[EMAIL PROTECTED]> wrote: > 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 > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > 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. > ______________________________________________ R-help@stat.math.ethz.ch mailing list 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.