From lukas.stadler at oracle.com  Tue Jan  3 13:26:16 2017
From: lukas.stadler at oracle.com (Lukas Stadler)
Date: Tue, 3 Jan 2017 13:26:16 +0100
Subject: [Rd] .Internal for functions in distn.R
Message-ID: <89385F26-8396-4172-8FF3-B34C025B4A91@oracle.com>

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]]



[Rd] .Internal for functions in distn.R
Lukas Stadler