Displaying 1 result from an estimated 1 matches for "tp1367421p1370342".
2010 Jan 28
2
Missing argument error message
Back in the days of R 2.6, if you did this, you got this:
> z=function(x){x*2}
> z()
Error in z() : argument "x" is missing, with no default
But now in this decade we get (for R 2.9 and 2.10):
> z=function(x){x*2}
> z()
Error in z() :
element 1 is empty;
the part of the args list of '*' being evaluated was:
(x, 2)
Now I can see (after thinking about it)