title: Error in installation a R package
body: <p>Please help me, I cannot install "MASS" package.</p>
  
  <pre><code>&gt; library(MASS)
  Error in library(MASS) : there is no package called ‘MASS’
  </code></pre>
  
  <p>I tried to install MASS package from local:</p>
  
  <pre><code>&gt; utils:::menuInstallLocal()  
  package ‘MASS’ successfully unpacked and MD5 sums checked  
  Warning: cannot remove prior installation of package ‘MASS’
  </code></pre>
  
  <p>Even I cannot remove "MASS":</p>
  
  <pre><code>&gt; remove.packages("MASS")  
  Removing package from ‘C:/Program Files/R/R-3.0.1/library’  
  (as ‘lib’ is unspecified)  
  Error in find.package(pkgs, lib) : there is no package called ‘MASS’
  </code></pre>
  
  <p>Also with this option I couldn't install package:</p>
  
  <pre><code>&gt; options(install.lock=T)  
  &gt; utils:::menuInstallLocal()  
  package ‘MASS’ successfully unpacked and MD5 sums checked  
  Warning: cannot remove prior installation of package ‘MASS’  
  Warning: restored ‘MASS’  
  Warning message:  
  In file.copy(savedcopy, lib, recursive = TRUE) :  
    problem copying C:\Program Files\R\R-3.0.1\library\00LOCK\MASS\libs\x64\MASS.dll to C:\Program Files\R\R-3.0.1\library\MASS\libs\x64\MASS.dll: Permission 
  </code></pre>
  
  <p>And with install.packages:</p>
  
  <pre><code>&gt; install.packages("C:\\MASS_7.3-35.zip",repos=NULL)
  package ‘MASS’ successfully unpacked and MD5 sums checked  
  Warning: cannot remove prior installation of package ‘MASS’  
  Warning: restored ‘MASS’  
  Warning message:  
  In file.copy(savedcopy, lib, recursive = TRUE) :  
    problem copying C:\Program Files\R\R-3.0.1\library\00LOCK\MASS\libs\x64\MASS.dll to C:\Program Files\R\R-3.0.1\library\MASS\libs\x64\MASS.dll: Permission 
  </code></pre>
  
  <p>I should mention I use R with ORE (Oracle R Enterprise).</p>