R 3.3.0 installing a package on Windows: gcc not found error
<p>I am trying to install an R package which contains some C code under Windows. I have R 3.3.0 installed and also Rtools 3.3.0 installed on my computer's D: disk. </p>

<p>And <code>d:\Rtools\bin</code> and <code>d:\Rtools\mingw_64\bin</code> are all in PATH. I checked gcc command under command window, and it is working.</p>

<p>But when I am installing the package, it always trying to use <code>c:/Rtools/mingw_64/bin/gcc</code>, which should be in <code>d:</code> disk, then it gives <code>c:/Rtools/mingw_64/bin/gcc: not found</code> error.</p>

<p>Can anyone help on this issue?</p>

<p>Thanks!</p>