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
e Cc: rcpp-devel@lists.r-forge.r-project.org Subject: Re: [Rcpp-devel] [rcpp-devel] Rcpp Gallery Example fastLm vs R native lm 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-

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