[Rd] R-ints context documentation

Tomas Kalibera tom@@@k@||ber@ @end|ng |rom gm@||@com
Tue Jun 23 12:27:15 CEST 2020


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.

Best,
Tomas

On 5/27/20 3:07 AM, brodie gaslam via R-devel wrote:
> In 1.4 Contexts[1], should the following:
>
>> 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.
> Based on the 'eval.c' source[2].
>
> Best,
>
> Brodie
>
> [1]: https://cran.r-project.org/doc/manuals/r-devel/R-ints.html#Contexts
> [2]: https://github.com/wch/r-source/blob/tags/R-4-0-0/src/main/eval.c#L821
>
> ______________________________________________
> R-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list