[Rcpp-devel] Overriding 'ARMA_64BIT_WORD 1' in RcppArmadillo

2016-03-29 Thread George Vega Yon
Hi there, A couple of days ago I included this comment on a Stackoverflow question about "too large" matrices in RcppArmadillo I wonder if we can use this in a package. After trying to compile the package with and without PKG_CXXFLAGS=-DARMA_64BIT_WORD I'm still not able to create sparse matrices

Re: [Rcpp-devel] Overriding 'ARMA_64BIT_WORD 1' in RcppArmadillo

2016-04-28 Thread George Vega Yon
1.1 rmarkdown_0.9.5 devtools_1.11.1 tools_3.2.5 [16] yaml_2.1.13 htmltools_0.3.5 memoise_1.0.0 George G. Vega Yon +1 (626) 381 8171 http://www.its.caltech.edu/~gvegayon/ On Thu, Mar 31, 2016 at 12:37 PM, Dirk Eddelbuettel wrote: > > On 29 March 2016 at 15:55, George Vega Yon wrote: > |

Re: [Rcpp-devel] Overriding 'ARMA_64BIT_WORD 1' in RcppArmadillo

2016-05-03 Thread George Vega Yon
pArmadillo). Will work on tests on this repo https://github.com/gvegayon/arma64bit. Best, George G. Vega Yon +1 (626) 381 8171 http://www.its.caltech.edu/~gvegayon/ On Thu, Apr 28, 2016 at 6:07 PM, George Vega Yon wrote: > Hey! > > Since it seems to be the case that we don't know

Re: [Rcpp-devel] Overriding 'ARMA_64BIT_WORD 1' in RcppArmadillo

2016-05-03 Thread George Vega Yon
http://www.its.caltech.edu/~gvegayon/ On Tue, May 3, 2016 at 10:48 AM, Dirk Eddelbuettel wrote: > > Hi George, > > On 3 May 2016 at 10:17, George Vega Yon wrote: > | I think I've found a solution for this. I've submitted a pull request > here > | https://github.co

[Rcpp-devel] Alternative way of calling R functions within C++

2016-08-03 Thread George Vega Yon
Hey there, Looking at some old R code that I have I found this C++ function that allows evaluating R-written functions within C++ using Rcpp. While this is no news, the neat thing of it is that it seems to be faster than Rcpp::Function. Using microbenchmark I compared using Rcpp::function vs my im

Re: [Rcpp-devel] Alternative way of calling R functions within C++

2016-08-03 Thread George Vega Yon
ntext while respecting all other active handlers. > > > > In short, the Rcpp::Function implementation is designed to be as safe > > + correct as possible, with the downside being that it's slower. > > However, we generally advise that you shouldn't call back to R too

Re: [Rcpp-devel] Alternative way of calling R functions within C++

2016-08-03 Thread George Vega Yon
se (if the memory > is all allocated on the stack, maybe the runtime still knows to just > clear the entire stack after something like this) but not running > destructors is definitely a big problem. > > Cheers, > Kevin > > On Wed, Aug 3, 2016 at 12:22 PM, Dirk Eddelbuet

Re: [Rcpp-devel] [Pre-ANN] RcppArmadillo 0.8.100.1.0, and request for help

2017-10-09 Thread George Vega Yon
Hi Dirk, It seems that something's going on with element modification of arma::sp_mat objects. While in most of the cases I use batch insertion to create arma::sp_mat objects, in some others I have no other way of doing so but by looping through a list of elements to be added(modified). I've creat

Re: [Rcpp-devel] [Pre-ANN] RcppArmadillo 0.8.100.1.0, and request for help

2017-10-09 Thread George Vega Yon
blems from this end! Best, George G. Vega Yon +1 (626) 381 8171 http://cana.usc.edu/vegayon On Mon, Oct 9, 2017 at 10:58 AM, Dirk Eddelbuettel wrote: > > Hi George, > > On 9 October 2017 at 10:46, George Vega Yon wrote: > | Hi Dirk, > | > | It seems that something's go