Hello,
I would like to write a function where substitute operates on the
parameter, but ...
Expression = function(o,l) substitute(o, l)
Expression({x=.(FOO)}, list(FOO=2))
o
How do i get substitute to work on the contents of o.
Regards
Saptarshi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Saptarshi Guha
Sent: Wednesday, September 07, 2011 2:21 PM
To: R-help@r-project.org
Subject: [R] Using substitute on a function parameter
Hello,
I would like to write a function
On Sep 7, 2011, at 5:20 PM, Saptarshi Guha wrote:
Hello,
I would like to write a function where substitute operates on the
parameter, but ...
Expression = function(o,l) substitute(o, l)
Expression({x=.(FOO)}, list(FOO=2))
o
How do i get substitute to work on the contents of o.
I
3 matches
Mail list logo