[Rcpp-devel] lmBenchmark broken for RcppArmadillo?
Matt
mmoores at gmail.com
Mon Oct 20 13:26:54 CEST 2014
I've confirmed that this works on R 3.1.1 under OS X, using RcppArmadillo
0.4.450.1.0:
*diff --git a/inst/examples/lmBenchmark.R b/inst/examples/lmBenchmark.R*
*index 9037107..dd49375 100644*
*--- a/inst/examples/lmBenchmark.R*
*+++ b/inst/examples/lmBenchmark.R*
@@ -37,7 +37,7 @@ exprs$QR <- expression(.Call("fastLm", mm, y, 1L,
PACKAGE="Rcp
exprs$LLt <- expression(.Call("fastLm", mm, y, 3L, PACKAGE="RcppEigen"))
if (suppressMessages(require("RcppArmadillo", character=TRUE,
quietly=TRUE))) {
- exprs$arma <- expression(.Call("fastLm", mm, y,
PACKAGE="RcppArmadillo"))
+ exprs$arma <- expression(.Call("RcppArmadillo_fastLm", mm, y,
PACKAGE="Rcpp
}
if (suppressMessages(require("RcppGSL", character=TRUE, quietly=TRUE))) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20141020/7c09dc2a/attachment.html>
More information about the Rcpp-devel
mailing list