Displaying 2 results from an estimated 2 matches for "getmethodsfordispatch".
Did you mean:
setmethodsfordispatch
2004 Aug 25
1
Pixmap problem
Hi,
I'm having trouble writing .pnm images which I think is due to a problem
with my colour space. The pixmap object seems to be looking for 72 of 8
colours (one per cell?) which doesn't seem healthy...
> library(pixmap)
> x <- pixmapIndexed(rep(1:8, 9), nrow=6, col=rainbow(8))
> x
Pixmap image
Type : pixmapIndexed
Size : 6x12
Resolution : 1x1
2014 Nov 25
0
problem with setGroupGeneric from package methods
...mlist <- generic at default # from 2.11.0: method, primitive or NULL, not MethodsList
mtable <- .mlistAddToTable(generic, mlist) # by default, adds to an empty table
assign(".MTable", mtable, envir = env)
}
else ## the current .MTable
mtable <- getMethodsForDispatch(generic)
.resetInheritedMethods(env, mtable)
if(is(generic, "groupGenericFunction")) {
for(gp in generic at groupMembers) {
gpDef <- getGeneric(gp)
if(is(gpDef, "genericFunction"))
.getMethodsTable(gpDef) # force initial...