From |uke-t|erney @end|ng |rom u|ow@@edu  Mon Sep  9 00:13:28 2019
From: |uke-t|erney @end|ng |rom u|ow@@edu (Tierney, Luke)
Date: Sun, 8 Sep 2019 22:13:28 +0000
Subject: [Rd] [External]  Missing function Rf_findFun3
In-Reply-To: <CA+JCgN2vJ78NDXYUg-5SsXexa0r35=WLa1+HVTR=OaUpVv4Aiw@mail.gmail.com>
References: <CA+JCgN17j1myHXxvgckej3mYv5n+s5xYQ13_khPwPVEgCzbrhQ@mail.gmail.com>
 <alpine.DEB.2.21.1909080725330.2872@luke-Latitude-7480>
 <CA+JCgN2vJ78NDXYUg-5SsXexa0r35=WLa1+HVTR=OaUpVv4Aiw@mail.gmail.com>
Message-ID: <alpine.DEB.2.21.1909081708260.2872@luke-Latitude-7480>

On Sun, 8 Sep 2019, Laurent Gautier wrote:

> I am not using the C API from a package but with an embedded R.

Same rules apply.

> Why have it declared in the include/ if it cannot be accessed then?

Rinternals.h is used by R internally, as the name suggests. Only a
small fraction of the things declared there are part of the API.

Would it be better to separate out the things that are in the API into
a separate header? Probably. Would doing this be a good use of our
limited time resources? Probably not. Would doing this prevent people
from using things they shouldn't? Not likely.

Best,

luke

> 
> Best,
> 
> Laurent
> 
> On Sun, Sep 8, 2019, 8:27 AM Tierney, Luke <luke-tierney at uiowa.edu> wrote:
>       On Sat, 7 Sep 2019, Laurent Gautier wrote:
>
>       > Hi,
>       >
>       >
>       > The function `Rf_findFun3` is declared in
>       > `$(R CMD CONFIG HOME)/lib/R/include/Rinternals.h`
>       > but appears to be missing from R's shared library (R.so).
>       >
>       > Is this an oversight?
>
>       No. This is not part of the API supported for use in packages.
>
>       Best,
>
>       luke
>
>       >
>       > Best,
>       >
>       > Laurent
>       >
>       >? ? ? ?[[alternative HTML version deleted]]
>       >
>       > ______________________________________________
>       > R-devel at r-project.org mailing list
>       > https://stat.ethz.ch/mailman/listinfo/r-devel
>       >
>
>       --
>       Luke Tierney
>       Ralph E. Wareham Professor of Mathematical Sciences
>       University of Iowa? ? ? ? ? ? ? ? ? Phone:? ? ? ? ? ?
>       ?319-335-3386
>       Department of Statistics and? ? ? ? Fax:? ? ? ? ? ? ?
>       ?319-335-3017
>       ? ? Actuarial Science
>       241 Schaeffer Hall? ? ? ? ? ? ? ? ? email:?
>       ?luke-tierney at uiowa.edu
>       Iowa City, IA 52242? ? ? ? ? ? ? ? ?WWW:?
>       http://www.stat.uiowa.edu
> 
> 
>

-- 
Luke Tierney
Ralph E. Wareham Professor of Mathematical Sciences
University of Iowa                  Phone:             319-335-3386
Department of Statistics and        Fax:               319-335-3017
    Actuarial Science
241 Schaeffer Hall                  email:   luke-tierney at uiowa.edu
Iowa City, IA 52242                 WWW:  http://www.stat.uiowa.edu


[Rd] [External] Missing function Rf_findFun3
Tierney, Luke