title: Message error 'C:/Program' not found with Rcpp
body: <p>I'm running a 64-bit Windows 7 platform.</p>
  
  <p>I have added to my installed programs/libraries:</p>
  
  <ul>
  <li><p>Rtools</p></li>
  <li><p>R (software)</p></li>
  <li><p>Rcpp (R package)</p></li>
  <li><p>inline (R package)</p></li>
  </ul>
  
  <p>I tried out a snippet found <a href="http://dirk.eddelbuettel.com/papers/rcpp_workshop_introduction_user2012.pdf" rel="nofollow">here</a></p>
  
  <pre><code>## now with Rcpp and C++
  library(inline)
  # and deﬁne our version in C++
  src &lt;- "int n = as&lt;int&gt;(ns);
  double x = as&lt;double&gt;(xs);
  for (int i=0; i&lt;n; i++) x=1/(1+x);
  return wrap(x); "
  l &lt;- cxxfunction(signature(ns="integer", xs="numeric"),
  body=src, plugin="Rcpp")
  </code></pre>
  
  <p>But that doesn't work (That is not a surprise to be honest as I even didn't specified eg the location of Rtools). I get the following error message:</p>
  
  <pre><code>Error in system(cmd, intern = !verbose) : 'C:/Program' not found
  </code></pre>
  
  <p>I'm not sure of what that means. And, I have been stuck there for a couple of hours now. Can anyone help me a bit, please?</p>