title: Error in sourceCpp after installing Rtools
body: <p>A month ago I installed Rtools all by default options on my personal computer and was able to write C++ functions in R ever since. Now I am trying to install Rtools on my company's computer and unable to correctly install Rtools. I believe it has something to do with the PATH or some relevant thing that I don't quite understand. Help is so needed. Below are my steps and results:</p>
  
  <ol>
  <li>Install R-3.03 in the local drive c; successful</li>
  <li><code>install.packages(c("Rcpp","installr"));</code> successful</li>
  <li><code>library(installr)</code></li>
  <li><code>install.Rtools()</code>. In this step there's one thing suspicious:</li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/8px1t.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8px1t.png" alt=""></a></p>
  
  <p>I only chose "Save version information to registry".
  5. library(Rcpp); evalCpp("1 + 1"); and I got the following:
  running command: </p>
  
  <pre><code>make -f "C:/R-    30~1.3/etc/i386/Makeconf" -f "C:/R-30~1.3/share/make/winshlib.mk"   SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)
  </code></pre>
  
  <p>Warning message:</p>
  
  <pre><code>SHLIB="sourceCpp_35432.dll" OBJECTS="file1bb831d14d68.o"' had status 127  
      Error in sourceCpp(code = code, env = env, rebuild = rebuild,     showOutput = showOutput,  : 
      Error 1 occurred building shared library.
      WARNING: The tools required to build C++ code for R were not found.
      Please download and install the appropriate version of Rtools:
      http://cran.r-project.org/bin/windows/Rtools
  </code></pre>
  
  <p>And I did restart the computer to see if miracles can happen, but no.
  Can anyone help me? Thanks!</p>