search for: assigninnamespacet

Displaying 1 result from an estimated 1 matches for "assigninnamespacet".

Did you mean: assigninnamespace
2012 Dec 11
1
Reassign functions called by other functions in package graphics
...I'd like my plot.default and plot.new called (this afternoon, at least) in place of every invocation of plot.default and plot.new resp.. So far I've tried: reassignInPackage from R.utils: reassignInPackage("plot.default","graphics",my.plot.default) gives "Error in assignInNamespaceT(name, value, ns = pkgName, envir = env) : locked binding of ?plot.default? cannot be changed", even after unlockBinding("plot.default",as.environment("package:graphics")) assignInNamespace seems to almost work. Here's what I enter: plot.default<-function(...){ca...