<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style><style type="text/css"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Greetings and Salutations All,<br>
<br>
Recently, I've had the need to collide large matrices 1x10^7 using code written in RcppArmadillo.<br>
<br>
Initially, I triggered:<br>
<span style="font-size: 13.5135135650635px;">Error: Mat::init(): requested size is too large; suggest to enable ARMA_64BIT_WORD<br>
</span><br>
Upon a quick search, I stumbled upon a Stack Exchange post by Dirk:<br>
http://stackoverflow.com/a/16159326/1345455<br>
<br>
<div>"<strong style="margin: 0px; padding: 0px; border: 0px; font-size: 13.63636302948px; vertical-align: baseline; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-height: 17.8048000335693px; background: rgb(255, 255, 255);">Update on
 2013-04-30</strong><span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 13.63636302948px; line-height: 17.8048000335693px; background-color: rgb(255, 255, 255);">: This was actually an Armadillo bug, which was just fixed
 upstream. A new RcppArmadillo verion 0.3.810.2 is now in SVN, and should migrate soon to CRAN shortly. You no longer need to define </span><code style="margin: 0px; padding: 1px 5px; border: 0px; font-size: 13.63636302948px; vertical-align: baseline; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: pre-wrap; line-height: 17.8048000335693px; background: rgb(238, 238, 238);">ARMA_64BIT_WORD</code><span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 13.63636302948px; line-height: 17.8048000335693px; background-color: rgb(255, 255, 255);">."<br>
</span><br>
Upon opening,<br>
<br>
<span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 13.5135135650635px; line-height: 17.8048000335693px; background-color: rgb(255, 255, 255);">[R.home()]/lib/R/library/RcppArmadillo/include/RcppArmadilloConfig.h<br>
<br>
</span>
<pre class="lang-r prettyprint prettyprinted" style="margin-top: 0px; margin-bottom: 10px; padding: 5px; border: 0px; font-size: 13.63636302948px; vertical-align: baseline; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; overflow: auto; width: auto; max-height: 600px; word-wrap: normal; line-height: 17.8048000335693px; background: rgb(238, 238, 238);"><code style="margin: 0px; padding: 0px; border: 0px; font-size: 13.63636302948px; vertical-align: baseline; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: inherit; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="com" style="margin: 0px; padding: 0px; border: 0px; font-size: 13.63636302948px; vertical-align: baseline; color: rgb(128, 128, 128); background: transparent;">#define ARMA_64BIT_WORD</span></code></pre>
</div>
<div><br>
The above definition not listed.<br>
<br>
Two quick questions:<br>
1. Was the default support for <span style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 13.5135135650635px; line-height: 17.8048000335693px; white-space: pre-wrap; background-color: rgb(238, 238, 238);">ARMA_64BIT_WORD
</span><span style="font-size: 10pt;">removed? (RcppArmadillo >= 0.4.5.550.1.0) If not, is there a trigger I need to add to my source to ensure </span><span style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 13.5135135650635px; line-height: 17.8048000335693px; white-space: pre-wrap; background-color: rgb(238, 238, 238);">ARMA_64BIT_WORD</span><span style="font-size: 10pt;"> is
 active?</span></div>
<div>2. If I make the code I'm currently working on available as a package on CRAN, would I have to direct users to modify the RcppArmadilloConfig.h?<br>
<br>
Sincerely,<br>
<br>
JJB</div>
</div>
</body>
</html>