[R-pkg-devel] R_registerRoutines, etc.

Avraham Adler avraham.adler at gmail.com
Mon Apr 24 01:55:34 CEST 2017


On Sun, Apr 23, 2017 at 7:51 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
>
> On 24 April 2017 at 11:47, Rolf Turner wrote:
>
> And per Duncan's last (and his earlier emails) maybe you need to call from R
> into C (for finer control over the interface) and only then call your Fortran
> worker function.  To hide it, and its plausibly more limited interface,
> entirely from R.
>

What I found useful was Drew Schmidt's example Romp. Where he also
recommends against .Fortran() in general due to performance overheads.

<https://github.com/wrathematics/Romp>

Avi



More information about the R-package-devel mailing list