search for: assignoverbind

Displaying 2 results from an estimated 2 matches for "assignoverbind".

2004 Jul 14
2
tracing something in a namespace (PR#7091)
...########################### > x <- rnorm(10) > y <- 1:10 > xyplot(y ~ x) > trace(lattice:::print.trellis, exit=recover) [1] "print.trellis" Warning message: Assigning over the binding of symbol "print.trellis" in environment/package "lattice" in: .assignOverBinding(what, newFun, whereF) > xyplot(y ~ x) > untrace(lattice:::print.trellis) Error in untrace(lattice:::print.trellis) : Argument what should be the name of a function > Something isn't right. I see three possibilities. a. tracing something in a namespace is prohibited and I did...
2014 Nov 25
0
problem with setGroupGeneric from package methods
...tion of the same name as a primitive with methods (!) if(identical(environment(def), environment(fdef))) next # the methods are identical else if( is(fdef, "genericFunction")) { .assignOverBinding(f, fdef, env, FALSE) } } # else, go ahead to update primitive methods } else # either imported generic or a primitive fdef <- getGeneric(f, FALSE, searchWhere, fpkg) }...