Hadley Wickham writes:
> On Tuesday, August 17, 2010, Vitaly S. wrote:
>> Duncan Murdoch writes:
>>
>>> Vitaly S. wrote:
Martin Morgan writes:
>> So, can I be sure that for such functions parent.frame(2) will always
>> work?
>> What are the additional rules?
>>
On Tuesday, August 17, 2010, Vitaly S. wrote:
> Duncan Murdoch writes:
>
>> Vitaly S. wrote:
>>> Martin Morgan writes:
>>>
> So, can I be sure that for such functions parent.frame(2) will always
> work?
> What are the additional rules?
>
callNextMethod() will cause additio
Duncan Murdoch writes:
> Vitaly S. wrote:
>> Martin Morgan writes:
>>
So, can I be sure that for such functions parent.frame(2) will always
work?
What are the additional rules?
>>> callNextMethod() will cause additional problems; the idea that you'll
>>> grab thin
Vitaly S. wrote:
Martin Morgan writes:
So, can I be sure that for such functions parent.frame(2) will always work?
What are the additional rules?
callNextMethod() will cause additional problems; the idea that you'll
grab things from somewhere other than function arguments doesn't se
Martin Morgan writes:
>>
>> So, can I be sure that for such functions parent.frame(2) will always work?
>> What are the additional rules?
>
> callNextMethod() will cause additional problems; the idea that you'll
> grab things from somewhere other than function arguments doesn't seem
> like a ro
On 08/15/2010 02:39 PM, Vitaly S. wrote:
>
> Dear Developers,
>
> I wonder what are the parent.frame rules for methods. For ordinary functions
> one
> can call parent.frame() and be sure that it is the environment of a calling
> function. With S4 aparently it is not the case.
>
> Here is what I
Dear Developers,
I wonder what are the parent.frame rules for methods. For ordinary functions one
can call parent.frame() and be sure that it is the environment of a calling
function. With S4 aparently it is not the case.
Here is what I have discovered by trial and error so far:
> setClass("A",