Re: [Rcpp-devel] Resolving NativeSymbolInfos from Rcpp (revisited)

2017-07-28 Thread Iñaki Úcar
2017-07-29 0:29 GMT+02:00 Dirk Eddelbuettel : > > On 28 July 2017 at 19:14, Iñaki Úcar wrote: > | Hi all, > | > | I found this interesting thread by Davor Cubranic in which Romain came > | up with a solution for calling a C routine from the 'stats' package: > | > http://lists.r-forge.r-project.org

Re: [Rcpp-devel] Resolving NativeSymbolInfos from Rcpp (revisited)

2017-07-28 Thread Dirk Eddelbuettel
On 28 July 2017 at 19:14, Iñaki Úcar wrote: | Hi all, | | I found this interesting thread by Davor Cubranic in which Romain came | up with a solution for calling a C routine from the 'stats' package: | http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2010-June/000753.html | | In a nutshel

Re: [Rcpp-devel] return Colvec as vector

2017-07-28 Thread Dirk Eddelbuettel
On 28 July 2017 at 14:59, Serguei Sokol wrote: | Le 28/07/2017 à 13:45, Dirk Eddelbuettel a écrit : | > Don't think so, but I have thought about it too, and I was planning to bring | > this up. I also find the 'always forced to be dimension one matrix' to be a | > (very early) design decision I w

[Rcpp-devel] Resolving NativeSymbolInfos from Rcpp (revisited)

2017-07-28 Thread Iñaki Úcar
Hi all, I found this interesting thread by Davor Cubranic in which Romain came up with a solution for calling a C routine from the 'stats' package: http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2010-June/000753.html In a nutshell, I would like to do the same, but with a user-provided fu

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: | template SE

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

2017-07-28 Thread Dirk Eddelbuettel
On 28 July 2017 at 06:38, Dirk Eddelbuettel wrote: | | On 27 July 2017 at 16:47, Serguei Sokol wrote: | | 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

Re: [Rcpp-devel] return Colvec as vector

2017-07-28 Thread Dirk Eddelbuettel
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: | template SEXP wrap( const arma::Col& data ){ | return R

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

2017-07-28 Thread Dirk Eddelbuettel
On 27 July 2017 at 16:47, Serguei Sokol wrote: | 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 te