Displaying 1 result from an estimated 1 matches for "somethingsane".
2009 Feb 12
2
Messing with the "..." argument
...# now I want to pass the rest of the vars down to another function,
# let's say some plotting function, so I'd like to remove
# `myCustomVar` from "...", keep the rest of the vars and just
# pass the valid "..." elements down through the call chain
doSomePlot(somethingSane, ...)
})
Currently the `doSomePlot` that's called does fine until it passes the
rest of it's vars to the "real" plot method, at which point I'll get
a warning like:
Warning messages:
1: In plot.window(...) : "myCustomVar" is not a graphical parameter
2: In plot.xy(...