Re: [Rcpp-devel] Rf_error() format string

2023-11-28 Thread Serguei Sokol
Thanks to all. As CRAN said: package rmumps_5.2.1-26.tar.gz is on its way to CRAN. Best, Serguei. Le 28/11/2023 à 17:49, Dirk Eddelbuettel a écrit : Sorry for being slow to respond (very busy morning at work and play, got five such emails myself) but as Inaki and Georgi helpfully pointed out

[Rcpp-devel] Rf_error() format string

2023-11-28 Thread Serguei Sokol
Hi, I've got a request from CRAN to correct my package rmumps using Rcpp: https://cran.r-project.org/web/checks/check_results_rmumps.html The problems come from RcppExports.cpp automatically generated lines like:    Rf_error(CHAR(rcpp_msgSEXP_gen)); With a message saying: Found the following

Re: [Rcpp-devel] Rcpp shared libraries (?)

2022-06-23 Thread Serguei Sokol
Le 23/06/2022 à 17:12, THIOULOUSE JEAN a écrit : ... I can make a PR if you wish. Yes, please do. Thanks a lot ! Done: https://github.com/sdray/ade4/pull/31 Serguei. Le 23/06/2022 à 16:10, Jean Thioulouse a écrit : Le 23 juin 2022 à 16:04, Serguei Sokol a écrit : Le 23/06/2022 à 15:47

Re: [Rcpp-devel] Rcpp shared libraries (?)

2022-06-23 Thread Serguei Sokol
AGS = -I../inst/include After all this, I've got a compilation without error. I can make a PR if you wish. Best, Serguei. Le 23/06/2022 à 16:10, Jean Thioulouse a écrit : Le 23 juin 2022 à 16:04, Serguei Sokol a écrit : Le 23/06/2022 à 15:47, Jean Thioulouse a écrit : Thank you Serguei,

Re: [Rcpp-devel] Rcpp shared libraries (?)

2022-06-23 Thread Serguei Sokol
Le 23 juin 2022 à 15:17, Serguei Sokol a écrit : Le 23/06/2022 à 15:02, THIOULOUSE JEAN a écrit : Hi Sorry to bother you again with my C/C++ problems in the ade4 package (available on CRAN & GitHub). Thanks to your help, I have succeeded in converting several of the C functions to C++ usi

Re: [Rcpp-devel] Rcpp shared libraries (?)

2022-06-23 Thread Serguei Sokol
Le 23/06/2022 à 15:02, THIOULOUSE JEAN a écrit : Hi Sorry to bother you again with my C/C++ problems in the ade4 package (available on CRAN & GitHub). Thanks to your help, I have succeeded in converting several of the C functions to C++ using Rcpp. Now the package compiles without problem

Re: [Rcpp-devel] Help reading libzma file

2022-06-23 Thread Serguei Sokol
Le 23/06/2022 à 04:07, Roberto Spadim a écrit : Hi folks I have a .xz file and need to read it and "convert" to a DataFrame using Rcpp if possible. But... I'm with a problem (first time testing this) using liblzma with Rcpp, I already know how to do this with CMakeLists.txt, but I don't

Re: [Rcpp-devel] Assertion error in ud_ep.c, when running with MPI

2022-06-14 Thread Serguei Sokol
Hi, Probably, this issue would be better posted here https://github.com/openucx/ucx/issues Best, Serguei. Le 14/06/2022 à 07:24, Maddegedara Lalith a écrit : Hello, I want to use RInside in my C++ based MPI application to do time series forecasting using the auto.arima library of R. The

Re: [Rcpp-devel] [R-pkg-devel] moving from C to C++ with Rcpp in R package

2022-06-02 Thread Serguei Sokol
Le 02/06/2022 à 15:32, Dirk Eddelbuettel a écrit : (Removed CC to r-package-devel) On 2 June 2022 at 16:24, Ivan Krylov wrote: | Unfortunately, this means editing RcppExports.R, which (I think) | prevents you from enjoying the way Rcpp::compileAttributes() sets | everything up for you. Yes. I

Re: [Rcpp-devel] Rcpp function results are different on different systems

2021-08-20 Thread Serguei Sokol
Le 19/08/2021 à 19:01, Sokol Serguei a écrit : Le 19/08/2021 à 17:41, Sokol Serguei a écrit : Le 19/08/2021 à 17:04, Naeem Khoshnevis a écrit : Thank you so much, everyone, for responding to this email. Dirk, * I didn't think about testing _equality_ of doubles because the numbers

Re: [Rcpp-devel] efficient ingestion of "sparse csv"

2021-05-26 Thread Serguei Sokol
Le 26/05/2021 à 16:36, Vincent Carey a écrit : On this theme, the following proved sufficient to ingest and convert sparse csv without column headers or row names: Nice to share your final solution which could be further shorten to smth like: #include "RcppArmadillo.h" using namespace Rcpp;

Re: [Rcpp-devel] rcpp compile problem

2020-01-28 Thread Serguei Sokol
Le 28/01/2020 à 10:04, Gerhard Boenisch a écrit : Hi I am new to rcpp and am unable to compile code I know works. I must be doing something stupid. I am using Windows (10). I have received the cpp source files for the BHPMF package. We want to make the package work on the latest version of

Re: [Rcpp-devel] Value type of DataFrame::operator[]

2019-12-09 Thread Serguei Sokol
Le 07/12/2019 à 00:29, Qiang Kou a écrit : What about using "TYPEOF"? Please see R Internals (https://cran.r-project.org/doc/manuals/r-release/R-ints.html#SEXPTYPEs) for more details. ... and if you want to convert integer encoded SEXPTYPE to a human readable string you can use const char *

Re: [Rcpp-devel] RInside: C/C++ function(s) passed to R?

2019-11-13 Thread Serguei Sokol
so: %.cpp $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(RINSIDELIBS) -fPIC -shared $< -o $@ %: %.so $(CXX) $^ $(LDLIBS) -o $@ Best, Serguei. Thank you William -Message d'origine- De : Serguei Sokol Envoyé : mardi 12 novembre 2019 17:49 À : LEVRA-JUILLET William ; rcpp-devel@lists

Re: [Rcpp-devel] RInside: C/C++ function(s) passed to R?

2019-11-12 Thread Serguei Sokol
Le 08/11/2019 à 11:06, LEVRA-JUILLET William a écrit : Hi all, I’m evaluating RInside/Rcpp to interact our C++ project with R. I’ve seen the samples to get/set data (matrix, dataframes, etc) to/from R and it builds/works fine. (Using gcc/mingw compiler from RTools on Windows) My questions

Re: [Rcpp-devel] class methods and R_RegisterCCallable

2019-10-28 Thread Serguei Sokol
Le 24/10/2019 à 18:23, Leonardo Silvestri a écrit : On 24 October 2019 at 16:01, Serguei Sokol wrote: | I'am trying to find a way to access class methods of one Rcpp package | (say pkgM) from C++ code in another one (say pkgA). | If it were simple C++ routines and not class methods, the way

[Rcpp-devel] class methods and R_RegisterCCallable

2019-10-24 Thread Serguei Sokol
Hi, I'am trying to find a way to access class methods of one Rcpp package (say pkgM) from C++ code in another one (say pkgA). If it were simple C++ routines and not class methods, the way is known and even automatized. E.g. if I generate pkgM with Rcpp::Rcpp.package.skeleton("pkgM",

Re: [Rcpp-devel] stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC

2019-02-01 Thread Serguei Sokol
On 01/02/2019 17:22, Sariya, Sanjeev wrote: Hi devs, Platform – Unix R version 3.4 and 3.5 Errors for –fPIC installation for two packages: 1) I’m using r3.5 to install simplexreg on my local as: /mnt/mfs/cluster/bin/R-3.5/bin/R  CMD INSTALL -l ./ simplexreg_1.3.tar.gz When I do it, I get

Re: [Rcpp-devel] Debugging Rcpp for Solaris

2019-01-09 Thread Serguei Sokol
On 09/01/2019 15:03, mike guggis wrote: Hello, I submitted a package to CRAN that passed all checks in RStudio but failed when it was tested on Solaris (after it was on CRAN). Now I need to correct the error and resubmit to CRAN. I would like to avoid using CRAN as a debugging tool. Is there

Re: [Rcpp-devel] trying to insert a number as first element of already existing vector

2018-12-12 Thread Serguei Sokol
stvec, testelem) 30.88067  35.01826  40.38411  40.02501 44.49641  73.84147   100 > On Mon, Dec 10, 2018 at 8:42 AM Serguei Sokol <mailto:serguei.so...@gmail.com>> wrote: Le 10/12/2018 à 13:04, Jan van der Laan a écrit : > Small addendum: A large part of the performa

Re: [Rcpp-devel] trying to insert a number as first element of already existing vector

2018-12-10 Thread Serguei Sokol
Le 10/12/2018 à 16:48, Mark Leeds a écrit : ... Oh, as I said, the documentation on Rcpp is incredible but is there anything discussing memory because I'm pretty lost on that. Thanks again. Are you talking about this list archives? http://lists.r-forge.r-project.org/pipermail/rcpp-devel/

Re: [Rcpp-devel] trying to insert a number as first element of already existing vector

2018-12-10 Thread Serguei Sokol
36.45794  36.87915  40.43486  37.18063 43.49643  95.49049   100   mybar4(testvec, testelem)  36.51334  37.05409  41.39680  43.20627 43.57958  94.95482   100 Best, Jan On 10-12-18 12:10, Serguei Sokol wrote: Le 09/12/2018 à 09:35, Mark Leeds a écrit : Hi All: I wrote below and it work

Re: [Rcpp-devel] trying to insert a number as first element of already existing vector

2018-12-10 Thread Serguei Sokol
Le 09/12/2018 à 09:35, Mark Leeds a écrit : Hi All: I wrote below and it works but I have a strong feeling there's a better way to do it. If performance is an issue, you can save few percents of cpu time by using std::copy() instead of explicit for loop. Yet, for this operation R's c() remains

Re: [Rcpp-devel] Debug Rcpp datatypes with lldb

2018-12-06 Thread Serguei Sokol
Le 06/12/2018 à 15:34, Dirk Eddelbuettel a écrit : On 6 December 2018 at 13:29, Huelsmann, Till wrote: | Hello, | | First of all, I really like Rccp and would like to thank you all for your work. s/Rccp/Rcpp/ Rccp = Russian for USSR Did you mean CCCP? ;) Serguei.

Re: [Rcpp-devel] Speed of RCppEigen Cholesky decomposition on sparse matrix (Serguei Sokol)

2018-11-28 Thread Serguei Sokol
s Topics:    1. Re: Speed of RCppEigen Cholesky decomposition on sparse       matrix (Serguei Sokol)    2. Problems with Rcout (Barth Riley)    3. Re: Problems with Rcout (I?aki Ucar)    4. Re: Problems with Rcout (Serguei Sokol)

Re: [Rcpp-devel] Problems with Rcout

2018-11-27 Thread Serguei Sokol
Le 27/11/2018 à 16:35, Barth Riley a écrit : Dear Rcppers I am encountering a problem with Rcout. Even with basic string output, when I run the function containing the call to Rcout, no output is generated. Here is a simple example of what I’m trying to do: // [[Rcpp::export]] void

Re: [Rcpp-devel] Speed of RCppEigen Cholesky decomposition on sparse matrix

2018-11-27 Thread Serguei Sokol
Le 26/11/2018 à 18:23, Hoffman, Gabriel a écrit : I am developing a statistical model and I have a prototype working in R code.  I make extensive use of sparse matrices, so the R code is pretty fast, but hoped that using RCppEigen to evaluate the log-likelihood function could avoid a lot of

Re: [Rcpp-devel] coercion NULL to vector

2018-04-18 Thread Serguei Sokol
Le 18/04/2018 à 17:31, Jeff Newmiller a écrit : as.numeric( NULL ) is not silent, it is very explicit. Well, written in this way yes. But I was referring more to the content than to the form. If you write as.numeric(x) and at some run-time point x become NULL, the code won't stop with an

Re: [Rcpp-devel] coercion NULL to vector

2018-04-18 Thread Serguei Sokol
Le 18/04/2018 à 16:15, Jeff Newmiller a écrit : Regarding: "Actually, when NULL is provided to where a vector or a matrix is expected just an error is thrown. So we can hardly imagine that someone would have his program broken or will be misled if such coercion is introduced." If all

Re: [Rcpp-devel] coercion NULL to vector

2018-04-18 Thread Serguei Sokol
Le 18/04/2018 à 15:59, Dirk Eddelbuettel a écrit : Could you use XPtr ? Probably yes, as I could use Nullable<> too. But at what price? For me, the code would become far less readable. Serguei. ___ Rcpp-devel mailing list

Re: [Rcpp-devel] coercion NULL to vector

2018-04-18 Thread Serguei Sokol
Le 18/04/2018 à 13:32, Dirk Eddelbuettel a écrit : On 18 April 2018 at 10:26, Georgi Boshnakov wrote: | I may be missing something here but | it doesn't seem right to introduce silent coercion of NULL to vectors, etc., | especially if it would become imposed on everybody using Rcpp/Armadillo. |

Re: [Rcpp-devel] coercion NULL to vector

2018-04-18 Thread Serguei Sokol
ought but I am ready to hear the arguments of those who think otherwise. Serguei. Georgi Boshnakov -Original Message- From: rcpp-devel-boun...@lists.r-forge.r-project.org [mailto:rcpp-devel-boun...@lists.r-forge.r-project.org] On Behalf Of Serguei Sokol Sent: 18 April 2018 10:57 To: Dirk E

Re: [Rcpp-devel] coercion NULL to vector

2018-04-18 Thread Serguei Sokol
Le 17/04/2018 à 17:53, Dirk Eddelbuettel a écrit : On 17 April 2018 at 10:31, Dirk Eddelbuettel wrote: | | On 17 April 2018 at 15:09, Serguei Sokol wrote: ... | | It will automatically coerce NULL to a declared vector type. | | It's a more primitive solution than Nullable but in many cases

[Rcpp-devel] coercion NULL to vector

2018-04-17 Thread Serguei Sokol
Hi, I would like to re-discuss the subject of automatic coercion of NULL to some vector in function parameter list. This old topic was already raised e.g. here https://stackoverflow.com/questions/34718570/rcpp-pass-vector-of-length-0-null-to-cppfunction To resume, actually a function defined as

Re: [Rcpp-devel] how to reference a row of a matrix in C++ in Rcpp

2018-03-21 Thread Serguei Sokol
KULKARNI *From:* Serguei Sokol <serguei.so...@gmail.com> *Sent:* Tuesday, March 20, 2018 7:26 PM *To:* akshay kulkarni; Rcpp R *Subject:* Re: [Rcpp-devel] how to reference a row of a matrix in C++ in Rcpp Le 20/03/2018 à 12:10, akshay kulkarni

Re: [Rcpp-devel] how to reference a row of a matrix in C++ in Rcpp

2018-03-20 Thread Serguei Sokol
Le 20/03/2018 à 17:22, Dirk Eddelbuettel a écrit : Akshay, On 20 March 2018 at 15:54, akshay kulkarni wrote: | Can I also write this: | | M[1:i, n:m] as we write in R? Please consider to stop posting elementary C++ beginners question to the list. We do not provide as a C++ tutorial or

Re: [Rcpp-devel] how to reference a row of a matrix in C++ in Rcpp

2018-03-20 Thread Serguei Sokol
Le 20/03/2018 à 12:10, akshay kulkarni a écrit : dear members,                              I came to know from stackoverflow that the following references a row in a matrix in C++: M[2] references 2nd row of the Matrix. SO is too big to check this assertion by ourself. Do you have a link?

Re: [Rcpp-devel] help needed on RcppEigen

2018-03-19 Thread Serguei Sokol
Le 19/03/2018 à 17:21, akshay kulkarni a écrit : dear sir,                I am using R to model stock prices but a slow "for" loop has stifled my research. I am using Rcpp to speed up my "for" loop. I am also using RcppEigen to implement block operations on xts objects. how do I use

Re: [Rcpp-devel] Modules + Attributes for extensions

2018-03-07 Thread Serguei Sokol
Le 07/03/2018 à 15:59, fernandohtol...@gmail.com a écrit : Dear Ralf and others, Thanks for your reply. I did looked for the references you pointed before. Unfortunately, there is nothing new in the Extending vignette than what can be found in Dirk's book chapter. Basically, all the others

Re: [Rcpp-devel] Setting seed using Rcpp

2018-02-07 Thread Serguei Sokol
Le 07/02/2018 à 16:20, Hmamouche Youssef a écrit : Hi, I get a note from R CMD check for an Rcpp package: Found ‘_srand’, possibly from ‘srand’ Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’ Is there some an  equivalent function for srand from Rcpp, which i can use it

[Rcpp-devel] Rcpp is the most downloaded package from CRAN

2017-10-11 Thread Serguei Sokol
Hi, Just to share this survey that claims something that your always knew but probably never had statistics to prove it ;) -- Rcpp is the most downloaded package from CRAN! http://redmonk.com/rstephens/2017/10/10/r-package-downloads/ Enjoy, Serguei.

Re: [Rcpp-devel] return Colvec as vector

2017-07-28 Thread Serguei Sokol
Le 28/07/2017 à 13:45, Dirk Eddelbuettel a écrit : On 27 July 2017 at 18:37, Serguei Sokol wrote: | I can hear from here "Oh no, not again this question!" ;) ;-) | But this time it is not a question it is a feature suggestion. | What if we replace in RcppArmadilloWrap.h:64: |

[Rcpp-devel] return Colvec as vector

2017-07-27 Thread Serguei Sokol
I can hear from here "Oh no, not again this question!" ;) But this time it is not a question it is a feature suggestion. What if we replace in RcppArmadilloWrap.h:64: template SEXP wrap( const arma::Col& data ){ return RcppArmadillo::arma_wrap( data, Dimension( data.n_elem, 1) ) ;

Re: [Rcpp-devel] Fwd: Calling R function in Rcpp returns compatibility issues

2017-07-27 Thread Serguei Sokol
Le 27/07/2017 à 18:12, Sharat a écrit : Also, after your comments, it just hit me why not write the entire code in pure C++? Would that be worthwhile? It really depends on the size of your real data and on time it takes to process them in R. If it is a matter of just a second or so, I would

Re: [Rcpp-devel] Fwd: Calling R function in Rcpp returns compatibility issues

2017-07-27 Thread Serguei Sokol
Hi Sharat, First, few preliminary remarks before answering your question. 1. Just like every one asking for assistance, your should provide a minimal reproducible example. 2. Before asking about Rcpp issue, it would be reasonable if you test your comps() function in R, to be sure that the

Re: [Rcpp-devel] [RcppArmadillo] Result of Rcpp Wrap() for Sparse Matrix

2017-06-15 Thread Serguei Sokol
Le 14/06/2017 à 16:06, Serguei Sokol a écrit : Le 14/06/2017 à 15:21, Douglas Bates a écrit : ... That is the format of the dgTMatrix class from the Matrix package for R but not, as far as I can tell, in Armadillo. A brief glance at the Armadillo documentation indicates that sparse matrices

Re: [Rcpp-devel] [RcppArmadillo] Result of Rcpp Wrap() for Sparse Matrix

2017-06-14 Thread Serguei Sokol
Le 14/06/2017 à 17:33, Douglas Bates a écrit : On Wed, Jun 14, 2017 at 9:06 AM Serguei Sokol <serguei.so...@gmail.com <mailto:serguei.so...@gmail.com>> wrote: Le 14/06/2017 à 15:21, Douglas Bates a écrit : > > > On Wed, Jun 14, 2017 at 3:59 AM Serg

Re: [Rcpp-devel] [RcppArmadillo] Result of Rcpp Wrap() for Sparse Matrix

2017-06-14 Thread Serguei Sokol
Le 14/06/2017 à 15:21, Douglas Bates a écrit : On Wed, Jun 14, 2017 at 3:59 AM Serguei Sokol <serguei.so...@gmail.com <mailto:serguei.so...@gmail.com>> wrote: Le 13/06/2017 à 18:24, Douglas Bates a écrit : > On Tue, Jun 13, 2017 at 10:56 AM Binxiang Ni <bi

Re: [Rcpp-devel] [RcppArmadillo] Result of Rcpp Wrap() for Sparse Matrix

2017-06-14 Thread Serguei Sokol
Le 13/06/2017 à 18:24, Douglas Bates a écrit : On Tue, Jun 13, 2017 at 10:56 AM Binxiang Ni > wrote: Hi, I am working on fixing sparse matrix conversion for RcppArmadillo. Now a problem comes up to me: what kind of sparse matrix is

Re: [Rcpp-devel] Symbol registration in packages with module classes

2017-03-09 Thread Serguei Sokol
Le 08/03/2017 à 17:16, Dirk Eddelbuettel a écrit : On 6 March 2017 at 10:11, Serguei Sokol wrote: | Le 04/03/2017 à 20:41, Nathan Russell a écrit : | > To summarize an issue I recently encountered, | > | > - Beginning in R 3.4, R CMD check will (likely) expect users to register

Re: [Rcpp-devel] Symbol registration in packages with module classes

2017-03-06 Thread Serguei Sokol
Le 04/03/2017 à 20:41, Nathan Russell a écrit : To summarize an issue I recently encountered, - Beginning in R 3.4, R CMD check will (likely) expect users to register symbols for native routines (see e.g. this discussion: https://github.com/RcppCore/Rcpp/issues/636) I came across the same

Re: [Rcpp-devel] Rcpp Parallel is not working

2016-12-22 Thread Serguei Sokol
Hi To, Le 22/12/2016 à 12:55, To Duc Khanh a écrit : Dear all I am trying to apply RcppParallel for my function, but my code seems to be not working. Could you please help me to find any mistakes in my code or explain me why it is not working? As your result is of type "aggregation" (res[0]

Re: [Rcpp-devel] a variable for loop

2016-12-14 Thread Serguei Sokol
Hi Amina, Looks like you want us to do your homework, right? ;) Pay attention to subscript translation from R to C: c[i-1, j, k-1] * b[i, j] vs c(i-1, j, k) *b(i, j) Can you see the difference? Best, Serguei. Le 14/12/2016 à 07:46, Amina Shahzadi a écrit : Oh sorry. No. of columns in b and

Re: [Rcpp-devel] Rtools not finding *.o files during compilation

2016-07-07 Thread Serguei Sokol
Le 07/07/2016 14:30, Charles Determan a écrit : I am trying to help a user debug the installation of one of my packages and have come across an error I don't understand. The current process has been as follows: 1. User using Windows OS 2. User trying to install development version from my

Re: [Rcpp-devel] Returning an arma vec

2014-12-05 Thread Serguei Sokol
Le 04/12/2014 17:57, Romain François a écrit : Something like this: template typename T inline wrap( const arma::subview_coldouble x ){ return wrap( arma::MatT( x ) ) ; } Interesting. If I do inline SEXP wrap( const arma::vec x ) { return wrap(Rcpp::NumericVector( x.begin(),

Re: [Rcpp-devel] tracking volatile bug

2014-11-21 Thread Serguei Sokol
Well, I could narrow the issue but not yet resolve it. Le 18/11/2014 20:46, William Dunlap a écrit : I will try gctorture(TRUE) suggested by Martin. I'll start with this easy part. Unfortunately valgrind didn't detect any wrong access to memory. Now, the difficult part. The most reduced code

[Rcpp-devel] tracking volatile bug

2014-11-18 Thread Serguei Sokol
Hi everybody, I am facing a volatile bug which appears and disappears in identical calls on identical data. My RcppArmadilla code is expm_cpp() (it is obtained by rex2arma tool which I have presented before, cf. attached file). It is compared and benchmarked vs its R counterpart expm.higham()

Re: [Rcpp-devel] tracking volatile bug

2014-11-18 Thread Serguei Sokol
Le 18/11/2014 16:39, Romain François a écrit : Le 18 nov. 2014 à 14:42, Serguei Sokol serguei.so...@gmail.com a écrit : /* call this R command: source(FileName) */ int errorOccurred; SEXP e = lang2(install(source), mkString(FileName)); /* mkChar instead of mkString would lead

[Rcpp-devel] rex2arma: from R expression to RcppArmadillo code

2014-11-03 Thread Serguei Sokol
Hi, I am new on this list so let me say that in my opinion RcppArmadillo have a bright future among R developers especially among those doing scientific calculus. That's why and to facilitate my life with it, I have developed a small tool rex2arma() for automatic conversion of R code to

Re: [Rcpp-devel] rex2arma: from R expression to RcppArmadillo code

2014-11-03 Thread Serguei Sokol
Dirk, Le 03/11/2014 17:33, Dirk Eddelbuettel a écrit : Serguei, Thanks for your enthusiasm about Rcpp and RcppArmadillo. It is mostly shared :) You give a long sales job on rex2arma, which is fine. Open Source mostly works differently. If you really wanted this to be part of RcppArmadillo,