search for: reassigninpackag

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

Did you mean: reassigninpackage
2012 Dec 11
1
Reassign functions called by other functions in package graphics
...I want my own functions plot.default and plot.new that I entered at the command line (which I guess means that it is in .GlobalEnv). 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.environm...