Hi,
I'm try to collect a list of methods/packages available in R for doing
in-string variable/symbol substitution, e.g. someFcn(pi=${pi}),
anotherFcn(pi=@pi@) and so on becomes pi=3.141593. I am aware of
the following:
** gsubfn() in the 'gsubfn' package, e.g.
gsubfn( , , pi = $pi, 2pi =
On 13-12-17 4:44 PM, Henrik Bengtsson wrote:
Hi,
I'm try to collect a list of methods/packages available in R for doing
in-string variable/symbol substitution, e.g. someFcn(pi=${pi}),
anotherFcn(pi=@pi@) and so on becomes pi=3.141593. I am aware of
the following:
** gsubfn() in the 'gsubfn'
There's also knit_expand() in knitr, which uses the form pi = {{pi}}
with general expressions.
Peter
On Tue, Dec 17, 2013 at 1:44 PM, Henrik Bengtsson h...@biostat.ucsf.edu wrote:
Hi,
I'm try to collect a list of methods/packages available in R for doing
in-string variable/symbol
On Tue, Dec 17, 2013 at 4:44 PM, Henrik Bengtsson h...@biostat.ucsf.edu wrote:
Hi,
I'm try to collect a list of methods/packages available in R for doing
in-string variable/symbol substitution, e.g. someFcn(pi=${pi}),
anotherFcn(pi=@pi@) and so on becomes pi=3.141593. I am aware of
the