title: Rtools is not being detected from RStudio
body: <p>I am using latest R, RStudio and Rtools.</p>
  
  <p>-- I have updated the environment variables. Now I can call gcc, or R from command line.</p>
  
  <p>While I was trying to publish an app from the RStudio, I get the following error, </p>
  
  <blockquote>
    <p>Preparing to deploy application...DONE Uploading bundle for
    application: 64015...Error: 
    * Application depends on package "Rtools" but it is not installed.    Please resolve before continuing. Execution halted</p>
  </blockquote>
  
  <p>-- I have tried this,On Console, </p>
  
  <pre><code>&gt; find_rtools(T)
  Scanning path...
  ls : D:\Rtools\bin\ls.exe 
  gcc: D:\Rtools\GCC-46~1.3\bin\gcc.exe 
  VERSION.txt
  Rtools version 3.3.0.1959 
  Version: 3.3 
  [1] TRUE
  </code></pre>
  
  <p>So, Rtools seems basically there!</p>
  
  <p>-- I have checked environment variables, those are OK, as I also mentioned R and gcc can be started from command line </p>
  
  <p>Yet, I tried to install and check from within RStudio using installr package, it says,</p>
  
  <pre><code>&gt; install.Rtools()
  No need to install Rtools - You've got the relevant version of Rtools installed
  &gt; 
  </code></pre>
  
  <p>-- This is not a possible duplication of this, <a href="https://stackoverflow.com/questions/19885381/rtools-not-being-detected-by-r">Rtools not being detected by R</a>
  I have tried all these. Did not work.</p>
  
  <p>Please suggest a solution. Thank you very much for your time.</p>