Re: [Rd] isGeneric() can return an error

From: John Chambers <jmc_at_r-project.org>
Date: Thu, 08 Mar 2012 15:41:45 -0800

Bug. Should be fixed (rev 58642) in r-devel and R 2.15.0 alpha.

Thanks.

On 3/7/12 3:30 PM, Hervé Pagès wrote:
> Hi,
>
> I wonder if this is a feature or a bug:
>
> > isGeneric("&&")
> Error in genericForPrimitive(f) :
> methods may not be defined for primitive function ‘&&’ in this
> version of R
> > isGeneric(":")
> Error in genericForPrimitive(f) :
> methods may not be defined for primitive function ‘:’ in this
> version of R
>
> According to the man page:
>
> ‘isGeneric’: Is there a function named ‘f’, and if so, is it a
> generic?
>
> So it sounds like it should be a YES or NO answer.
>
> In any case the error message is confusing: it suggests that I'm trying
> to define methods for "&&", but I'm not.
>
> This is with R 2.13, R 2.14 and R 2.15.0 alpha.
>
> Thanks,
> H.
>



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 08 Mar 2012 - 23:44:28 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 09 Mar 2012 - 12:30:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive