[Rd] .Internal for functions in distn.R

Lukas Stadler lukas.stadler at oracle.com
Tue Jan 3 13:26:16 CET 2017


Hi,

the functions in distn.R were converted from .Internal to .External ([1], in 2012), and to .Call ([2], in 2014).
They are still listed as .Internal in names.c, although they are not used in that way.

Shouldn’t they be removed?
There’s quite some simplification to be had, e.g., do_math3 could go away and do_math2 would be simpler.

If that makes sense (I may be missing something?), I’d be happy to create a patch that does this.

Best,
 Lukas

[1] https://github.com/wch/r-source/commit/e430853d37cda69505e7452ddceb06a2008821d2 <https://github.com/wch/r-source/commit/e430853d37cda69505e7452ddceb06a2008821d2>
[2] https://github.com/wch/r-source/commit/34fa67ca4c1dae13ed6a2ad74af7dbb27c8f3cb2 <https://github.com/wch/r-source/commit/34fa67ca4c1dae13ed6a2ad74af7dbb27c8f3cb2>
	[[alternative HTML version deleted]]



More information about the R-devel mailing list