On Sat, Nov 15, 2014 at 1:47 AM, Duncan Murdoch
murdoch.dun...@gmail.com wrote:
On 14/11/2014, 9:06 PM, Henrik Bengtsson wrote:
I've meant to ask the following for several years now. I understand why:
foo - function(x, dim=dim) { dim }
foo(1)
Error in foo(1) :
promise already
On Sun, Nov 23, 2014 at 4:07 PM, Henrik Bengtsson h...@biostat.ucsf.edu wrote:
On Sat, Nov 15, 2014 at 1:47 AM, Duncan Murdoch
murdoch.dun...@gmail.com wrote:
On 14/11/2014, 9:06 PM, Henrik Bengtsson wrote:
I've meant to ask the following for several years now. I understand why:
foo -
On 14/11/2014, 9:06 PM, Henrik Bengtsson wrote:
I've meant to ask the following for several years now. I understand why:
foo - function(x, dim=dim) { dim }
foo(1)
Error in foo(1) :
promise already under evaluation: recursive default argument
reference or earlier problems?
gives an
I've meant to ask the following for several years now. I understand why:
foo - function(x, dim=dim) { dim }
foo(1)
Error in foo(1) :
promise already under evaluation: recursive default argument
reference or earlier problems?
gives an error, but why wouldn't/couldn't the following work?