> Note that whilst calls to closures and builtins set a context,
> those to special internal functions never do.
Be something like:
> Note that whilst calls to closures always set a context,
> those to builtins only set a context under profiling
> or if they are of the foreign variety (e.g `.C` and similar),
> and those to special internal functions never do.
Thanks for spotting this outdated bit in the documentation. Updated now
in R-devel. The byte-code compiler does additional optimizations - the
contexts are not included when not needed, and source
references/expressions are tracked in a different way. That is
documented in the compiler documentation.
On 5/27/20 3:07 AM, brodie gaslam via R-devel wrote: