Re: [Rd] rdyncall fears removal from CRAN

2012-08-26 Thread Daniel Adler
Dear R Developers, Here is a small patch against the trunk that makes 'makeNamespace' a first-level function (not defined inside another closure) and defines two wrapper functions to 'registerNamespace' and 'unregisterNamespace'. http://dyncall.org/~dadler/R-trunk-public-namespace.diff The pat

[Rd] rdyncall fears removal from CRAN

2012-08-20 Thread Daniel Adler
Dear R Core and CRAN Team, I received a warning that the rdyncall package [1] will be archived and removed from the main CRAN distribution at 7th of September if I can not get rid of .Internal calls. > From: rip...@stats.ox.ac.uk (Prof Brian Ripley) > Subject: Use of .Internal in CRAN package rd

Re: [Rd] Segfault on ".C" registration via R_CMethodDef according to 'Writing R Extensions'.

2012-02-06 Thread Daniel Adler
, you're using variable-length array so you have to > specify its length: > > {"myC", (DL_FUNC) &myC, 4, (R_NativePrimitiveArgType[4]) {REALSXP, INTSXP, > STRSXP, LGLSXP}} > > which will allocate extra static object (it has to because "types" is a > pointer, n

[Rd] Segfault on ".C" registration via R_CMethodDef according to 'Writing R Extensions'.

2012-02-06 Thread Daniel Adler
Dear R List, I encountered a serious problem regarding the registration of ".C" when following the documentation "Writing R Extensions" that leads to a segmentation fault (tested on windows and mac os x). The registration mechanism for ".C" routines via R_registerRoutines and the R_CMethodDef st

[Rd] makeNamespace and rdyncall

2011-12-16 Thread Daniel Adler
Dear R Core Team, I have a question related to the programming interface for namespace object creation at run-time. This is something that I need in the rdyncall package: During the dynamic linkage binding of a shared C library, an R namespace object is created that gets populated with call wr