Re: [Rd] Registration of native routines

2017-02-23 Thread Avraham Adler
I believe Dr. Ripley said that the UseDynLib doesn't address the middle two points of the list. I experimented with the Delaporte package timing calls using both methods, and they were within 1~2 microseconds of each other using microbenchmark. Since the more complicated way is now expressly prefe

Re: [Rd] Registration of native routines

2017-02-22 Thread Jeroen Ooms
On Tue, Feb 14, 2017 at 5:25 PM, Prof Brian Ripley wrote: > > Registration has similar benefits to name spaces in R code: > > - it ensures that the routines used by .C, .Call etc are those in your > package (without needing a PACKAGE argument). > - it avoids polluting the search space for native

Re: [Rd] Registration of native routines

2017-02-22 Thread Henric Winell
On 2017-02-19 09:19, Prof Brian Ripley wrote: On 14/02/2017 16:25, Prof Brian Ripley wrote: Registration of 'native routines' (entry points in compiled code loaded into R) has been available for over 14 years, ... (There are reports that the check in 'R CMD check' on Windows sometimes fails

Re: [Rd] Registration of native routines

2017-02-19 Thread Prof Brian Ripley
On 14/02/2017 16:25, Prof Brian Ripley wrote: Registration of 'native routines' (entry points in compiled code loaded into R) has been available for over 14 years, ... (There are reports that the check in 'R CMD check' on Windows sometimes fails to detect use of registration. This is being l

Re: [Rd] Registration of native routines

2017-02-14 Thread Prof Brian Ripley
On 14/02/2017 17:28, Avraham Adler wrote: On Tue, Feb 14, 2017 at 11:25 AM, Prof Brian Ripley wrote: Registration of 'native routines' (entry points in compiled code loaded into R) has been available for over 14 years, but few packages make use of it (less than 10% of those on CRAN with compile

Re: [Rd] Registration of native routines

2017-02-14 Thread Avraham Adler
On Tue, Feb 14, 2017 at 11:25 AM, Prof Brian Ripley wrote: > Registration of 'native routines' (entry points in compiled code loaded into > R) has been available for over 14 years, but few packages make use of it > (less than 10% of those on CRAN with compiled code). > > Registration has similar b

[Rd] Registration of native routines

2017-02-14 Thread Prof Brian Ripley
Registration of 'native routines' (entry points in compiled code loaded into R) has been available for over 14 years, but few packages make use of it (less than 10% of those on CRAN with compiled code). Registration has similar benefits to name spaces in R code: - it ensures that the routines

[Rd] Registration of native routines

2007-03-01 Thread Gregor Gorjanc
Dear R developers, I am working on registration of native C and FORTRAN routines and have encountered "inconsistencies" about this issue. I am referring to "Registering native routines" section of R-ext manual. *(DL_FUNC), &F77_SUB, &F77_SYMBOL On line 5108 of R-ext.texi the array for method myC