Skip to content
Prev 367168 / 398506 Next

Is a list an atomic object? (or is there an issue with the help page of ?tapply ?)

Yes, exactly.

So my point is that this:

  "X: a vector-like object that supports subsetting with `[`, typically
     an atomic vector."

is incorrect, or at least a bit opaque, without further emphasizing
that FUN must accept the result of "[". With atomic vectors, the error
that you produced was obvious, but with lists, I believe not so. I
Appreciate the desire for brevity, but I think clarity should be the
primary goal. Maybe it *is* just me, but I think a few extra words of
explanation here would not go amiss.

But, anyway, thanks for the clarification.

Cheers,
Bert



Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Tue, Feb 14, 2017 at 6:04 PM, Herv? Pag?s <hpages at fredhutch.org> wrote: