Displaying 3 results from an estimated 3 matches for "setgroupgeneric".
2006 Oct 11
1
dispatching on group generics with more than one formal
...ried 'cacheMetaData(1)' and a number of different
variants of 'cacheGenericsMetaData', on the possibility there is a
caching issue. but i still can't sort it out.
also one general question: does it really matter what's in the body
of the function definition in a 'setGroupGeneric' call? the actual
group function definition is always overwritten by a message to the
effect the function should not be called directly.
__
setGroupGeneric("Foo", function(x) standardGeneric("Foo"))
setGroupGeneric("Foo2", function(x, y) standardGeneric("...
2014 Nov 25
0
problem with setGroupGeneric from package methods
Hi,
There seems to be a problem with setGroupGeneric() from package 'methods'. The symptoms are somewhat erratic, in the sense that small changes may lead to any of the following behaviours.
1.Package works without problems on Windows and installs on Linux but gives error when loaded with library().
2.Package installs on both systems and gi...
2002 Apr 29
0
methods package: inheriting from structures; group generics
...oup are never actual generic
functions (for reasons of efficiency), there was no easy way to turn
method dispatch on, and the callGeneric function was unable to find the
generic definition.
It is still necessary to turn method dispatch on in this case (see
?setGeneric) by calling something like:
setGroupGeneric("Arith")
This requirement may be dropped later, depending on experience.
--
John M. Chambers jmc@bell-labs.com
Bell Labs, Lucent Technologies office: (908)582-2681
700 Mountain Avenue, Room 2C-282 fax: (908)582-3340
Murray Hill, NJ 07974 web: http://...