[Rd] Unexpected behavior of identical() with language objects

Winston Chang winstonchang1 at gmail.com
Wed Oct 29 21:26:16 CET 2014

I ran into this and found the result very surprising:

identical( quote({ a }),  quote({ a }) )

It seems related to curly braces. For example, parens work fine:
identical( quote(( a )),  quote(( a )) )

Is this expected behavior? I can't seem to find anything in the help
for identical that relates to this.


More information about the R-devel mailing list