[Rd] identical on closures

Mick Jordan mick.jordan at oracle.com
Fri May 20 23:23:13 CEST 2016


On 5/20/16 2:00 PM, Gabriel Becker wrote:
> Specifically, the srcfile attribute of the srcref attribute of the two 
> instances of the functions contain different environments, AFAICT. 
> Environments are compared only by exact pointer, so this forces return 
> FALSE.
>
>
Thanks, and I realized that attributes(f) <- NULL does not help as the 
srcref attribute is on the body components.

Mick



More information about the R-devel mailing list