[Rcpp-devel] Sugar

2010-10-31 Thread Dominick Samperi
Comments on Sugar... Rcpp sugar seems to be an enhancement for C++ more than an interface function, so wouldn't it make sense to maintain it as a separate C++ class library? More generally, it would be useful to know what portions of Rcpp can function without the R engine running. This can be dete

Re: [Rcpp-devel] Using Goto blas in Mac OS

2010-10-31 Thread Anirban Mukherjee
Hi Dirk, > We do not do anything particular. We just let R and the OS load the right > one > for us. > Yep, that's what I would have expected as well. Will send a post out on OS X if it becomes worth it: for now, can stick with VecLib. I do suspect this should be easy to fix. > In general rep

Re: [Rcpp-devel] Using Goto blas in Mac OS

2010-10-31 Thread Dirk Eddelbuettel
Hi, On 1 November 2010 at 10:23, Anirban Mukherjee wrote: | Hi folks, | | I bumped into the Google techtalk video on Friday and have been playing | around with Rcpp and RcppArmadillo over the weekend. Looks excellent! Thanks | for all the work. Our pleasure! | When using RcppArmadillo with V

[Rcpp-devel] Using Goto blas in Mac OS

2010-10-31 Thread Anirban Mukherjee
Hi folks, I bumped into the Google techtalk video on Friday and have been playing around with Rcpp and RcppArmadillo over the weekend. Looks excellent! Thanks for all the work. When using RcppArmadillo with VecLib, things work as expected. If I change the BLAS to Goto using the link libRBlas.dyli

Re: [Rcpp-devel] problem with devel code (solved)

2010-10-31 Thread Kaveh Vakili
Thanks for the link Dirk. Actually, your link induced me to try to reproduce the error on a different computer and i could not. For some reason, the code bugs (repeatedly) on a small atom-based net-book i use to program but not on my other computers (although they all run ubuntu 10.04& R2.12).

Re: [Rcpp-devel] problem with devel code

2010-10-31 Thread Dirk Eddelbuettel
On 31 October 2010 at 20:03, Kaveh Vakili wrote: | Hi, | | i tried to inline the code for f.Rcpp found here: | | http://article.gmane.org/gmane.comp.lang.r.rcpp/851/match=matrix+inline | | I get a mysterious bug. I'l not sure what's wrong with the code, can anyone comment ? May I suggest that

Re: [Rcpp-devel] __ambiguous_overload_for_ ‘operator[]’

2010-10-31 Thread Kaveh Vakili
thanks, >You're mixing NumericVectors, std::vectors, and XPtrs, not to mention using >plain C's memcpy to copy C++ objects. Even if it compiled, I'd be surprised if this code worked correctly. > >If you want to copy pdA into v, you should probably use std::copy with >iterators (with v as the

[Rcpp-devel] problem with devel code

2010-10-31 Thread Kaveh Vakili
Hi, i tried to inline the code for f.Rcpp found here: http://article.gmane.org/gmane.comp.lang.r.rcpp/851/match=matrix+inline I get a mysterious bug. I'l not sure what's wrong with the code, can anyone comment ? ___ Rcpp-devel mailing list Rcpp-devel@