Displaying 1 result from an estimated 1 matches for "a0env".
Did you mean:
a0e9
2009 Nov 01
0
Internal error in 'ls' for pathological environments (PR#14036)
...be R_NilValue.)
> "
>
> Removing the assumption from NewEnvironment looks like an efficiency sink=
,
> so I would suggest that we fix do_eval (eval.c) instead, effectively doin=
g l
> <- l[names(l) !=3D ""]. =A0So in
>
> =A0 =A0case LISTSXP:
> =A0 =A0 =A0 =A0env =3D NewEnvironment(R_NilValue, duplicate(CADR(args)), =
encl);
> =A0 =A0 =A0 =A0PROTECT(env);
> =A0 =A0 =A0 =A0break;
>
> we need to replace the duplicate() call with something that skips the
> unnamed elements.
>
> The only side effect I can see from such a change is the resul...