Re: [Rcpp-devel] libRInside.a and "base package"

2012-09-04 Thread Dirk Eddelbuettel
On 4 September 2012 at 13:31, Dan Murphy wrote: | I am absolutely willing to work with you on this (Windows expert? | perhaps not yet). I really appreciate your help! | | I think I followed the steps you outlined -- or at least (hopefully) | can figure it out when I have the time to look at it la

Re: [Rcpp-devel] libRInside.a and "base package"

2012-09-04 Thread Dan Murphy
I am absolutely willing to work with you on this (Windows expert? perhaps not yet). I really appreciate your help! I think I followed the steps you outlined -- or at least (hopefully) can figure it out when I have the time to look at it later tonight. But I'm not sure I know how to rebuild RInside

Re: [Rcpp-devel] libRInside.a and "base package"

2012-09-04 Thread Dirk Eddelbuettel
On 4 September 2012 at 14:48, Dirk Eddelbuettel wrote: | | On 3 September 2012 at 23:44, Dan Murphy wrote: | | I copied the six dll's from C:\R\R-2.15.1\bin\i386 to | | C:\R\R-2.15.1\library\RInside\examples\standard before running make | | (just to be sure). Then | | | | make -f makevars.win |

Re: [Rcpp-devel] libRInside.a and "base package"

2012-09-04 Thread Dirk Eddelbuettel
On 3 September 2012 at 23:44, Dan Murphy wrote: | I copied the six dll's from C:\R\R-2.15.1\bin\i386 to | C:\R\R-2.15.1\library\RInside\examples\standard before running make | (just to be sure). Then | | make -f makevars.win | | ran without error, but | | C:\R\R-2.15.1\library\RInside\examples\

Re: [Rcpp-devel] Dirk's benchmarking of code for creation of random binary matrices

2012-09-04 Thread Douglas Bates
Slightly different results if I clean up the eigenFloor version and use unif_rand() instead of runif. The sugar version is still faster, however. R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows" Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: x86_

Re: [Rcpp-devel] Dirk's benchmarking of code for creation of random binary matrices

2012-09-04 Thread Dirk Eddelbuettel
Odd, armaFloor() never won on my end (Intel i7, Ubuntu 64bit). If eigenFloor() is slow, could is reveal an additional copy of something? Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com ___ Rcpp-devel mailing list Rcpp-dev

[Rcpp-devel] Dirk's benchmarking of code for creation of random binary matrices

2012-09-04 Thread Douglas Bates
Dirk Eddelbuettel recently blogged on "Faster creation of binomial matrices" (http://dirk.eddelbuettel.com/blog/code/snippets/) comparing various approaches in R and using C++ callable from R with the Rcpp package. I used cut-and-paste to create a script from the code in his posting but omitting t