On 02/10/2010 10:40 AM, Hadley Wickham wrote:
On Sat, Oct 2, 2010 at 8:18 AM, Duncan Murdoch wrote:
On 02/10/2010 7:57 AM, Hadley Wickham wrote:
Hi all,
I'm trying to understand the default value of the enclos argument of eval:
enclos = if(is.list(envir) || is.pairlist(envir)) parent.frame(
On Sat, Oct 2, 2010 at 8:18 AM, Duncan Murdoch wrote:
> On 02/10/2010 7:57 AM, Hadley Wickham wrote:
>>
>> Hi all,
>>
>> I'm trying to understand the default value of the enclos argument of eval:
>>
>> enclos = if(is.list(envir) || is.pairlist(envir)) parent.frame()
>> else baseenv()
>>
>> Why is
On 02/10/2010 7:57 AM, Hadley Wickham wrote:
Hi all,
I'm trying to understand the default value of the enclos argument of eval:
enclos = if(is.list(envir) || is.pairlist(envir)) parent.frame()
else baseenv()
Why isn't it just
enclos = parent.frame()
given that enclos is only meaningful (
Hi all,
I'm trying to understand the default value of the enclos argument of eval:
enclos = if(is.list(envir) || is.pairlist(envir)) parent.frame()
else baseenv()
Why isn't it just
enclos = parent.frame()
given that enclos is only meaningful (given my reading of the
documentation) when env