Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>It's because your Rlib path has a space in it: <code>C:/Users/Muhammad Yasseen/R/win-library/2.14</code>.</p> <p>See how in the first error log the warning message was </p> <pre><code>running command '"C:/PROGRA~1/R/R-214~1.2/bin/i386/R" CMD INSTALL C:\Users\MUHAMM~1\AppData\Local\Temp\Rtmpsx4n5u/ggbiplot_0.5.tar.gz --library=C:/Users/Muhammad Yaseen/R/win-library/2.14' had status 1 </code></pre> <p>In particular, the <code>--library=C:/Users/Muhammad Yaseen/R/win-library/2.14</code>.</p> <p>This should be <code>--library="C:/Users/Muhammad Yaseen/R/win-library/2.14"</code> to deal with the space.</p> <p>Using <code>install.packages</code> takes care of the quotes for you - see how your second warning message (when you used <code>install.packages</code>) was</p> <pre><code>running command 'C:/PROGRA~1/R/R-214~1.2/bin/i386/R CMD INSTALL -l "C:/Users/Muhammad Yaseen/R/win-library/2.14" "vqv-ggbiplot-2623d7c.tar.gz"' had status 1 </code></pre> <p>The <code>-l "C:/Users/Muhammad Yasseen/R/win-library/2.14"</code> has quote marks around it, so you don't get the same error.</p> <p>I had a quick look at the <code>install-github</code> sources, and it constructs the <code>R CMD INSTALL</code> command via:</p> <pre><code>paste("CMD INSTALL ", built_path, " --library=", .libPaths()[1], sep="") </code></pre> <p>See how it doesn't surround <code>.libPaths()[1]</code> by double quotes in case of spaces? I'd guess that's your problem.</p> <p>As to a fix - there seems to be an error using <code>install.packages()</code> on a tar file generated by <code>git</code> (as reported <a href="https://stat.ethz.ch/pipermail/r-devel/2011-April/060386.html" rel="noreferrer">here</a>). So, you can either:</p> <ul> <li>change your R library location to somewhere without spaces</li> <li>unzip the <code>.tar.gz</code> file (I don't know what software does this on Windows) and install from the <em>extracted</em> directories rather than the <code>.tar.gz</code>.</li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload