Displaying 1 result from an estimated 1 matches for "unsurprisingl".
Did you mean:
unsurprisingly
2007 Feb 08
0
obscure error with subsetting as.list() of a function then (PR#9504)
...around 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 unsurprisingl=
y, 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 work:
&...