<div dir="ltr">Hi Dirk,<div><br></div><div> could it be that yesterday the official RccpArmadillo version on CRAN was 0.4.300.7.0 (the one with the new armadillo macro),</div><div>while today it's 0.4.300.0? Or did I dream about it? :)</div>
<div><br></div><div>Best,</div><div><br></div><div>Matteo</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun 1, 2014 at 3:50 PM, Dirk Eddelbuettel <span dir="ltr"><<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Matteo,<br>
<div class=""><br>
On 1 June 2014 at 15:37, Matteo Fasiolo wrote:<br>
| Hi Dirk,<br>
|<br>
| thanks for the fix. Both the package created using <br>
| RcppArmadillo.package.skeleton() and my original<br>
| package work on Windows when the new flag is added and the new RcppArmadillo<br>
| version is used. <br>
<br>
</div>Perfect!<br>
<div class=""><br>
| I was a bit surprised to see that they work also on win-builder, which (I<br>
| guess) links against the old RcppArmadillo version.<br>
<br>
</div>Maybe it was a side-effect -- I tossed versions up there for testing --<br>
but you'd think they'd run in a separate environment.<br>
<br>
I have submitted this version to CRAN, unless something comes up it should be<br>
the release version by tomorrow.<br>
<br>
Thanks, Dirk<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
| Thanks,<br>
|<br>
| Matteo<br>
|<br>
|<br>
| On Sat, May 31, 2014 at 8:16 PM, Dirk Eddelbuettel <<a href="mailto:edd@debian.org">edd@debian.org</a>> wrote:<br>
|<br>
|<br>
| Matteo,<br>
|<br>
| Try updating RcppArmadillo from the GitHub repo. It now contains a release<br>
| candidate for 0.4.300.7.0, based on an updated Armadillo 4.300.7 in which<br>
| Conrad added<br>
| #define ARMA_DONT_USE_CXX11<br>
| which you should set, either via a -DARMA_DONT_USE_CXX11 to, say,<br>
| PKG_CXXFLAGS<br>
| in src/Makevars (or just src/Makevars.win), or in your code before you<br>
| #include <RcppArmadillo.h><br>
|<br>
| With this, and even though you turn on C++11 for _your code_ it will not<br>
| use<br>
| C++11 in Armadillo avoiding the issue experienced on Windows where g++<br>
| 4.6.2<br>
| is not new enough for some of the idioms used inside Armadillo.<br>
|<br>
| But as Armadillo is so neatly #ifdef'ed you should still be able to set up<br>
| your package and proceed.<br>
|<br>
| Give it a spin and let us know how it goes. I plan to ship this version of<br>
| RcppArmadillo to CRAN in the next few days.<br>
|<br>
| Cheers, Dirk<br>
|<br>
| --<br>
| Dirk Eddelbuettel | <a href="mailto:edd@debian.org">edd@debian.org</a> | <a href="http://dirk.eddelbuettel.com" target="_blank">http://dirk.eddelbuettel.com</a><br>
|<br>
|<br>
<br>
--<br>
Dirk Eddelbuettel | <a href="mailto:edd@debian.org">edd@debian.org</a> | <a href="http://dirk.eddelbuettel.com" target="_blank">http://dirk.eddelbuettel.com</a><br>
</div></div></blockquote></div><br></div>