From h@w|ckh@m @end|ng |rom gm@||@com  Tue Sep  8 14:25:50 2020
From: h@w|ckh@m @end|ng |rom gm@||@com (Hadley Wickham)
Date: Tue, 8 Sep 2020 07:25:50 -0500
Subject: [Rd] some questions about R internal SEXP types
In-Reply-To: <f3f345c0-146e-9c0e-7856-9130237b3220@gmail.com>
References: <8f4d92d753e266a0c8a303b9a354a42a071b24bf.camel@kortschak.io>
 <1ec817ab612c4cf782b15f8150364ad4ff3b306b.camel-2274@kortschak.io>
 <f3f345c0-146e-9c0e-7856-9130237b3220@gmail.com>
Message-ID: <CABdHhvERn9vONCfWK8gdBcvAspRj9SnBOWWWQ_1bTwfVaEet-w@mail.gmail.com>

On Tue, Sep 8, 2020 at 4:12 AM Tomas Kalibera <tomas.kalibera at gmail.com> wrote:
>
>
> The general principle is that R packages are only allowed to use what is
> documented in the R help (? command) and in Writing R Extensions. The
> former covers what is allowed from R code in extensions, the latter
> mostly what is allowed from C code in extensions (with some references
> to Fortran).

Could you clarify what you mean by "documented"? For example,
Rf_allocVector() is mentioned several times in R-exts, but I don't see
anywhere where the inputs and output are precisely described (which is
what I would consider to be documented). Is Rf_allocVector() part of
the API?

Hadley

-- 
http://hadley.nz



[Rd] some questions about R internal SEXP types
Hadley Wickham