Skip to content
Prev 56413 / 398500 Next

Bug? using { as a function in lapply

Gabor Grothendieck <ggrothendieck at myway.com> writes:
It isn't. Look closer.

I'm not sure this qualifies as a bug though. It boils down to
Error in f() : ... used in an incorrect context

This doesn't work in S-PLUS either:
Problem in f(): "..." may only be used as an argument in a call
Use traceback() to see the call stack

But S(-PLUS) doesn't actually have a function "{", it's part of syntax
but not actually put into functions (and if R had better deparsing,
may it could do likewise).

-------------