Displaying 1 result from an estimated 1 matches for "unsurpri".
Did you mean:
unsurpris
2007 Feb 09
0
obscure error with subsetting as.list() of a function then (PR#9506)
...ound it, but thought you might like to know about =
it.
>
>> f <- function(x) { NULL }
>> a <- as.list(f)[[1]]
>> a # ie print(a)
> Error: argument "a" is missing, with no default
>
> Note it says *argument* "a", which is strange. In fact, and unsurpris=
ingly, the bug lies
> with the object itself, not with print():
>
>> typeof(a)
> Error in typeof(a) : argument "a" is missing, with no default
>> deparse(a)
> Error in deparse(a) : argument "a" is missing, with no default
>
> However, this does wo...