Skip to content
Prev 4058 / 398506 Next

"formula plotting" -> substitute pecularity

Martin Maechler <maechler at stat.math.ethz.ch> writes:
..
I think that is a bug. Simplest variant:
Error: ... used in an incorrect context

I think the basic issue is that when you use ... in a function,
substitute will try to match it against the actual parameter list,
e.g.
a(2)
a(2, 3, 4)

However, when there's no ... argument to f, substitute will complain,
as would any other function trying to handle ... but the semantics of
substitute should be different.

Robert?