[R] Distinguishing variables from functions with the same name

Wacek Kusnierczyk Waclaw.Marcin.Kusnierczyk at idi.ntnu.no
Fri Feb 13 18:55:33 CET 2009


Stavros Macrakis wrote:
> On Fri, Feb 13, 2009 at 12:25 PM, Berwin A Turlach
> <berwin at maths.uwa.edu.au> wrote:
>   
>> On Fri, 13 Feb 2009 11:11:28 -0500
>> Stavros Macrakis <macrakis at alum.mit.edu> wrote:
>>     
>>> Where would it be advisable to use anything but mode='any' or
>>> mode='function'?
>>>       
>> I guess the answer to this question is more often than not in the source. :)
>>     
> ...
>   
>> The first few hits seem to indicate examples where it is necessary
>> to look specifically for a list.
>>     
>
> Well, the presence of a construction in code is interesting, but
> doesn't answer the question of whether it is *advisable* to write code
> this way...!
>
>   
... it doesn't even say if it really made sense in those cases, i.e.,
whether there was no better solution.

vQ




More information about the R-help mailing list