title: I can no longer install packages in R, I am the administrator and only user
body: <p>Recently something changed with my R installation and I couldn't install any packages as the library was &quot;not writable&quot;.</p>
  <p>I uninstalled R, and have re-installed it (R/4.0.5)... The problem persists.</p>
  <pre><code>&gt; if (!requireNamespace(&quot;BiocManager&quot;, quietly=TRUE))
  +   install.packages(&quot;BiocManager&quot;)
  Warning in install.packages(&quot;BiocManager&quot;) :
    'lib = &quot;C:/Program Files/R/R-4.0.5/library&quot;' is not writable
  Error in install.packages(&quot;BiocManager&quot;) : unable to install packages
  &gt; .libPaths()
  [1] &quot;C:/Program Files/R/R-4.0.5/library&quot;
  &gt; 
  </code></pre>
  <p>I rely heavily on R, and really need optimal function. What do I need to do to make sure it installs programs to a place it can access. I have had numerous installations in different directories previously and this seemed to trigger the problem. I've removed them all as far as I can tell.</p>
  <p>This seems like a basic issue which should be an easy fix.</p>