Displaying 1 result from an estimated 1 matches for "thecalllist".
Did you mean:
thecallinst
2010 Oct 05
0
Please help me simplify my manipulation and printing of function calls
...tions; is there a hidden flaw?
(*) but you'll have to change the file reference in OnyxEchoFile
esegments<-function(x0, y0, x1=x0, y1=y0, col=par("fg"), lty=par("lty"),
lwd=par("lwd"), ...)
{
# collect the call as a suitable list, using match.call
TheCallList <- as.list(match.call())
# turn it into (list version of) a call to the graphics function we actually want
TheCallList[[1]]<-quote(segments)
# replace the variable names used with their values
# (because I do not wish to record all the messy calculation I do)
if (length(TheCall...