Re: [R] Reassign functions called by other functions in package graphics

2012-12-11 Thread Greg Snow
I think the error is because the other functions are expecting the plot.new function to do some specific things to set up the graphics device for a new plot, but your function did not do those things. You might consider the trace function as an alternative to what you are trying. It can be used t

[R] Reassign functions called by other functions in package graphics

2012-12-11 Thread John Kolassa
I am trying to get a function written in R that calls a cascade of functions from the graphics package, and I want to eventually call replacements to functions in the graphics package instead of the originals. Specifically, I have a function that calls qqnorm in stats, which calls qqnorm.defaul