[Rcpp-devel] Call for testing of release candidate 0.10.2.8 for Rcpp 0.10.3

2013-03-21 Thread Dirk Eddelbuettel
We are planning a release of Rcpp 0.10.3 "soon". The current version is available as http://download.r-forge.r-project.org/src/contrib/Rcpp_0.10.2.8.tar.gz http://download.r-forge.r-project.org/bin/windows/contrib/latest/Rcpp_0.10.2.8.zip http://download.r-forge.r-project.org/bin/macosx/leo

Re: [Rcpp-devel] Module compilation warnings with clang++/llvm

2013-03-21 Thread Dirk Eddelbuettel
On 21 March 2013 at 19:11, Dirk Eddelbuettel wrote: | Also, can you try the most current tarball from R-Forge [ goes checking ] | Grr, once again no tarball available. Could you test from SVN? Else I can It is now back: http://download.r-forge.r-project.org/src/contrib/Rcpp_0.10.2.8.tar.g

Re: [Rcpp-devel] Module compilation warnings with clang++/llvm

2013-03-21 Thread Dirk Eddelbuettel
Hi Rich, On 22 March 2013 at 10:18, Rich FitzJohn wrote: | Dear list, | | When I compile Rcpp modules with clang, I see a number of warnings that seem to come from Rcpp. Below is a small file containing a fairly useless module (test.cpp). "Stuff happens" :) | test.cpp: | | ---8<- |

[Rcpp-devel] Module compilation warnings with clang++/llvm

2013-03-21 Thread Rich FitzJohn
Dear list, When I compile Rcpp modules with clang, I see a number of warnings that seem to come from Rcpp. Below is a small file containing a fairly useless module (test.cpp). test.cpp: ---8<- #include class Foo { public: Foo(double a) : a(a) {} double run(double b) { return a+b;

Re: [Rcpp-devel] [rcpp-devel] Rcpp Gallery Example fastLm vs Rnative lm

2013-03-21 Thread Dirk Eddelbuettel
On 21 March 2013 at 12:46, Smith, Dale wrote: | At this point, I'm not interested in blazing speed, but in getting to know Armadillo itself. Right. [ I just mentioned in the case where speed matters, the cost of setting up the model.matrix dwarfs all differences between the linear algebra setups

Re: [Rcpp-devel] [rcpp-devel] Rcpp Gallery Example fastLm vs Rnative lm

2013-03-21 Thread Smith, Dale
At this point, I'm not interested in blazing speed, but in getting to know Armadillo itself. Based on the thread http://thread.gmane.org/gmane.comp.lang.r.rcpp/3522 I'm not completely convinced that Eigen is faster than Armadillo on all problems. I did find some additional benchmarks, which ar

Re: [Rcpp-devel] [rcpp-devel] Rcpp Gallery Example fastLm vs R native lm

2013-03-21 Thread Dirk Eddelbuettel
On 21 March 2013 at 10:55, Hadley Wickham wrote: | > Should I expect the results to match? Why do fastLmProto and fastLm produce | > a single fitted parameter (I would expect two)? Why are they different? Am I | > doing something wrong here, or just being naïve in my assumptions? | | Hint: | | >

Re: [Rcpp-devel] [rcpp-devel] Rcpp Gallery Example fastLm vs R native lm

2013-03-21 Thread Smith, Dale
Thanks. Should have noticed this myself. Dale Smith, Ph.D. Senior Financial Quantitative Analyst Risk & Compliance Fiserv Office: 678-375-5315 www.fiserv.com -Original Message- From: Hadley Wickham [mailto:h.wick...@gmail.com] Sent: Thursday, March 21, 2013 11:55 AM To: Smith, Dale Cc:

Re: [Rcpp-devel] [rcpp-devel] Rcpp Gallery Example fastLm vs R native lm

2013-03-21 Thread Hadley Wickham
On Thu, Mar 21, 2013 at 10:44 AM, Smith, Dale wrote: > I have a question about the fastLm example in the Gallery > http://gallery.rcpp.org/articles/fast-linear-model-with-armadillo/. I put > the code directly into my package (after renaming it fastLmProto so I don’t > mask the RcppArmadillo functi

[Rcpp-devel] [rcpp-devel] Rcpp Gallery Example fastLm vs R native lm

2013-03-21 Thread Smith, Dale
I have a question about the fastLm example in the Gallery http://gallery.rcpp.org/articles/fast-linear-model-with-armadillo/. I put the code directly into my package (after renaming it fastLmProto so I don't mask the RcppArmadillo function by the same name). After building the package, I wanted