Displaying 20 results from an estimated 2000 matches similar to: "clarifying and adjusting the C API for R"
2024 Jun 09
1
clarifying and adjusting the C API for R
Thanks so much for your wonderful work, Luke!
I didn't expect such a clarification to happen this soon. This is really
great.
For convenience, I created a quick web page to search the result of
tools:::funAPI().
https://yutannihilation.github.io/R-fun-API/
Hope this helps those who are too lazy to install R-devel to check.
Best,
Yutani
2024?6?6?(?) 23:47 luke-tierney--- via R-devel
2024 Jun 07
1
clarifying and adjusting the C API for R
Thanks for working on this Luke! We appreciate your efforts to make it
easier to tell what's in the exported API and we're very happy to work with
you on any changes needed to tidyverse/r-lib packages.
Hadley
On Thu, Jun 6, 2024 at 9:47?AM luke-tierney--- via R-devel <
r-devel at r-project.org> wrote:
> This is an update on some current work on the C API for use in R
>
2024 Jun 07
1
clarifying and adjusting the C API for R
Thanks for sharing this overview of an interesting and much-needed project.
You mention that R exports about 1500 symbols (on platforms supporting
visibility) but this subject isn't mentioned explicitly again in your note,
so I'm wondering how things tie together. Un-exported symbols cannot be
part of the API - how would people use them in this case? In a perfect
world the set of
2024 Jun 07
1
[External] Re: clarifying and adjusting the C API for R
On Fri, 7 Jun 2024, Steven Dirkse wrote:
> You don't often get email from sdirkse at gams.com. Learn why this is important
> Thanks for sharing this overview of an interesting and much-needed project.
> You mention that R exports about 1500 symbols (on platforms supporting
> visibility) but this subject isn't mentioned explicitly again in your note,
> so I'm wondering
2024 Jun 08
1
[External] Re: clarifying and adjusting the C API for R
Would it be reasonable to move the non-API stuff that cannot be hidden
into header files inside a "details" directory (or some other specific
naming scheme)?
That's what I use when I need to separate a public API from an internal API.
On Fri, Jun 7, 2024 at 7:30?AM luke-tierney--- via R-devel
<r-devel at r-project.org> wrote:
>
> On Fri, 7 Jun 2024, Steven Dirkse
2024 Jul 15
1
Minor inconsistencies in tools:::funAPI()
Hi all,
I've noticed some peculiarities in the tools:::funAPI output that
complicate its programmatic use a bit.
- Is it for remapped symbol names (with Rf_ or the Fortran
underscore), or for unmapped names (without Rf_ or the underscore)?
I see that the functions marked in WRE are almost all (except
Rf_installChar and Rf_installTrChar) unmapped. This makes a lot of
sense because some
2024 Jul 29
1
Minor inconsistencies in tools:::funAPI()
Hi Ivan
Can you please clarify what input files should be used with your
proposed function? I tried a few files in r-svn/src/include and one of
them gave me an error.
> getdecl("~/R/r-svn/src/include/R.h")
[1] "R_FlushConsole" "R_ProcessEvents" "R_WaitEvent"
> getdecl("~/R/r-svn/src/include/Rdefines.h")
Error in regmatches(lines,
2017 Dec 17
1
Region subtag in package 'Language' field
I am looking for the appropriate field to let package authors to
declare the pkg documentation language for spell checkers. The most
important case is to specify a preference between "en-US" or "en-GB"
which can be used by the hunspell or spelling pkg to select the
appropriate dictionary.
WRE defines the "Language" field for documentation language, but from
the
2020 Sep 08
2
some questions about R internal SEXP types
On Tue, 2020-09-08 at 12:08 +0200, Tomas Kalibera wrote:
> I am not sure if I understand correctly, but if you were accessing
> directly the memory of SEXPs from Go implementation instead of
> calling
> through exported access functions documented in WRE, that would be a
> really bad idea. Of course fine for research and experimentation, but
> the internal structure can and does
2024 Apr 25
1
[External] Re: Is ALTREP "non-API"?
On Wed, 24 Apr 2024 15:31:39 -0500 (CDT)
luke-tierney--- via R-devel <r-devel at r-project.org> wrote:
> We would be better off (in my view, not necessarily shared by others
> in R-core) if we could get to a point where:
>
> all entry points listed in installed header files can be used in
> packages, at least with some caveats;
>
> the caveats are
2024 Apr 25
1
[External] Re: Is ALTREP "non-API"?
On Thu, Apr 25, 2024 at 4:24?AM Ivan Krylov via R-devel
<r-devel at r-project.org> wrote:
>
> On Wed, 24 Apr 2024 15:31:39 -0500 (CDT)
> luke-tierney--- via R-devel <r-devel at r-project.org> wrote:
>
> > We would be better off (in my view, not necessarily shared by others
> > in R-core) if we could get to a point where:
> >
> > all entry points
2024 Apr 24
2
[External] Re: Is ALTREP "non-API"?
On Wed, 24 Apr 2024, Hadley Wickham wrote:
>>
>>
>>
>>>>> That is not true at all - the presence of header does not constitute
>>>> declaration of something as the R API. There are cases where internal
>>>> functions are in the headers for historical or other reasons since the
>>>> headers are used both for the internal
2008 Dec 11
3
Logical "in" test
OK, this should be trivial but I'm not finding it. I want to compress
the test,
if (i==7 | i==10 | i==30 | i==50) {}
into something like
if (i in c(7,10,30,50)) {}
so I can build a "excludes" vector
excludes <- c(7,10,30,50)
and test
if (i in excludes) {}
However, I'm not finding a clue on how to accomplish this, if it can
be done. Would someone with more R
2020 Nov 01
3
vignettes present in 2 folders or won't work
I take Duncan's point but would second the motion to have WRE clarify
how static vignettes are supposed to work; it's a topic I am repeatedly
confused about despite being an experienced package maintainer. If
knowledgeable outsiders compiled a documentation patch would it be
likely to be considered ...??
On 11/1/20 2:29 PM, Duncan Murdoch wrote:
> On 01/11/2020 1:02 p.m., Alexandre
2015 Apr 25
2
Title case in DESCRIPTION for package where a word is a function namei
> On 25 Apr 2015, at 13:11 , Prof J C Nash (U30A) <nashjc at uottawa.ca> wrote:
>
> Hendrik pointed out it was the parentheses that gave the complaint.
> Single quotes and no parentheses seem to satisfy R CMD check. Perhaps
> that needs to be in the WRE.
Well, it is in ?toTitleCase:
...However, unknown
technical terms will be capitalized unless they are single
2010 Aug 06
1
[R-SIG-Mac] Question about line type in contour() function (R 2.11.1)
On 05/08/2010 8:46 PM, David B. Thompson, Ph.D., P.E., D.WRE, CFM wrote:
> On Aug 5, 2010, at 5:20 PM, Duncan Murdoch wrote:
>
>> On 05/08/2010 7:18 PM, David B. Thompson, Ph.D., P.E., D.WRE, CFM wrote:
>>> I'm running R 2.11.1 (MacBook Pro and OS X 10.6.4) and am trying to set a line type in the contour() function. What I did was:
>>>
>>>> >
2015 Apr 24
3
Title case in DESCRIPTION for package where a word is a function name
On 24.04.2015 22:44, Ben Bolker wrote:
> Prof J C Nash (U30A <nashjc <at> uottawa.ca> writes:
>
>>
>> I was preparing a fix for a minor glitch in my optimx package and R CMD
>> check gave an error that the title was not in title case.
>
> [snip] to make Gmane happy ...
>
>> I have found
>>
>> A Replacement and Extension of the
2024 Apr 22
1
Is ALTREP "non-API"?
Thanks for your convincing comment, but it seems the R core team has a
different opinion...
A few hours ago, src/include/R_ext/Altrep.h got this comment:
/*
Not part of the API, subject to change at any time.
*/
commit:
https://github.com/r-devel/r-svn/commit/2059bffde642f8426d1f39ab5dd995d19a575d4d
While I'm glad to see their attempt to make it clear, I'm confused. That
2008 Feb 25
2
including data frames in R packages
useR's,
Does any one know if there is a size limitation on the data frames that can
be included in R packages. I have a data set in a text file that I would
like to include in a package I am building and it is 8.5 MB in size. Will
this be problematic? Is the process for including data sets in packages
documented in WRE?
Thanks,
dxc
--
View this message in context:
2020 Nov 01
2
vignettes present in 2 folders or won't work
On 01/11/2020 2:57 p.m., Dirk Eddelbuettel wrote:
>
> The closest to a canonical reference for a static vignette is the basic blog
> post by Mark at
>
> https://www.markvanderloo.eu/yaRb/2019/01/11/add-a-static-pdf-vignette-to-an-r-package/
>
> which I follow in a number of packages.
>
> Back to the original point by Alexandre: No, I do _not_ think we can do
>