<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
span.PlainTextChar
        {font-family:"Calibri","sans-serif"}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoPlainText">Hi</p>
<p class="MsoPlainText">I hope its not inappropriate for me to post this as a follow up to my problems with getting RcppArmadillo to work. I tried to compile from source using R CMD INSTALL as Dirk suggested but am getting the error message below. I don’t know
 if this particular problem is related to a small issue I had getting Rcpp to work from within RStudio: for some reason RStudio was not seeing the correct system environment path and so could not find the compiler. I managed to resolve this by explicitly setting
 the path when I start RStudio using Sys.setenv(). The error I get when trying to install RcppArmadillo is as follows (specifically see the errors at the bottom):</p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText">C:\Program Files\R\R-2.15.1\library>R CMD INSTALL RcppArmadillo*tar.gz</p>
<p class="MsoPlainText">* installing to library 'C:/Program Files/R/R-2.15.1/library'</p>
<p class="MsoPlainText">* installing *source* package 'RcppArmadillo' ...</p>
<p class="MsoPlainText">** package 'RcppArmadillo' successfully unpacked and MD5 sums checked</p>
<p class="MsoPlainText">** libs</p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText">*** arch - i386</p>
<p class="MsoPlainText">cygwin warning:</p>
<p class="MsoPlainText">  MS-DOS style path detected: C:/PROGRA~1/R/R-215~1.1/etc/i386/Makeconf</p>
<p class="MsoPlainText">  Preferred POSIX equivalent is: /cygdrive/c/PROGRA~1/R/R-215~1.1/etc/i386/Makec</p>
<p class="MsoPlainText">onf</p>
<p class="MsoPlainText">  CYGWIN environment variable option "nodosfilewarning" turns off this warning.</p>
<p class="MsoPlainText">  Consult the user's guide for more details about POSIX paths:</p>
<p class="MsoPlainText">    <a href="http://cygwin.com/cygwin-ug-net/using.html#using-pathnames">
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames</a></p>
<p class="MsoPlainText">g++  -I"C:/PROGRA~1/R/R-215~1.1/include" -DNDEBUG -I../inst/include -I.   -I"C:/</p>
<p class="MsoPlainText">Program Files/R/R-2.15.1/library/Rcpp/include"      -O2 -Wall  -mtune=core2 -c R</p>
<p class="MsoPlainText">cppArmadillo.cpp -o RcppArmadillo.o</p>
<p class="MsoPlainText">In file included from ../inst/include/RcppArmadillo.h:30:0,</p>
<p class="MsoPlainText">                 from RcppArmadillo.cpp:22:</p>
<p class="MsoPlainText">../inst/include/RcppArmadilloForward.h:99:33: error: 'ConstReferenceInputParameter' is not a template</p>
<p class="MsoPlainText">../inst/include/RcppArmadilloForward.h:100:33: error: 'ReferenceInputParameter' is not a template</p>
<p class="MsoPlainText">../inst/include/RcppArmadilloForward.h:101:33: error: 'ConstInputParameter' is not a template</p>
<p class="MsoPlainText">make: *** [RcppArmadillo.o] Error 1</p>
<p class="MsoPlainText">ERROR: compilation failed for package 'RcppArmadillo'</p>
<p class="MsoPlainText">* removing 'C:/Program Files/R/R-2.15.1/library/RcppArmadillo'</p>
<p class="MsoPlainText"> </p>
<p class="MsoNormal">Any advice would be much appreciated.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Greg</p>
</div>
<hr>
UNIVERSITY OF CAPE TOWN <br>
<br>
This e-mail is subject to the UCT ICT policies and e-mail disclaimer published on our website at
<a href="http://www.uct.ac.za/about/policies/emaildisclaimer/">http://www.uct.ac.za/about/policies/emaildisclaimer/</a> or obtainable from +27 21 650 9111. This e-mail is intended only for the person(s) to whom it is addressed. If the e-mail has reached you
 in error, please notify the author. If you are not the intended recipient of the e-mail you may not use, disclose, copy, redirect or print the content. If this e-mail is not related to the business of UCT it is sent by the sender in the sender's individual
 capacity.
<h5></h5>
</body>
</html>