title: Rcpp can't find Rtools: "Error 1 occurred building shared library"
body: <p>I am running into a simple setup problem with Rcpp and I cannot get it to work. I tried to follow this example <a href="http://www.r-bloggers.com/user2013-the-rcpp-tutorial/">http://www.r-bloggers.com/user2013-the-rcpp-tutorial/</a> 
  But when executing this code:</p>
  
  <pre><code>library(Rcpp)
  evalCpp("1 + 1", showOutput= TRUE)
  </code></pre>
  
  <p>I get this output</p>
  
  <pre><code>C:/R/R-30~1.1/bin/x64/R CMD SHLIB -o "sourceCpp_33280.dll" "file8d01b0a675b.cpp" 
  Error in sourceCpp(code = code, env = env, rebuild = rebuild, showOutput = showOutput,  : 
    Error 1 occurred building shared library.
  WARNING: Rtools is required to build R packages but is not currently installed. 
  Please download and install the appropriate version of Rtools before proceeding:
  </code></pre>
  
  <p>I have done the following things in an attempt to make it work:</p>
  
  <ul>
  <li>installed Rtools 31 with install.Rtools()</li>
  <li>installed R in C:\R\R-3.0.1</li>
  <li>library files are stored in C:\R\R-3.0.1\library</li>
  <li>installed Rstudio in C:\R\RStudio</li>
  <li>placed my script in C:\R</li>
  </ul>
  
  <p>most similar issues seem to suggest that a space was in the file path, therefore i moved pretty much everything I could. But still it fails to locate Rtools. I tried it on my laptop and on my desktop and both don't work, so there is probably something structural I am doing wrong.</p>