title: R Error in install.packages : permission denied
body: <p>I'm trying to install packages employing the command <code>install.packages()</code> in Rstudio Version 1.1.453:</p>
  
  <pre><code>R version 3.5.0 (2018-04-23) -- "Joy in Playing"
  Copyright (C) 2018 The R Foundation for Statistical Computing
  Platform: x86_64-w64-mingw32/x64 (64-bit)
  
  with R Version 3.5 in Windows 10:
  
  platform       x86_64-w64-mingw32          
  arch           x86_64                      
  os             mingw32                     
  system         x86_64, mingw32             
  status                                     
  major          3                           
  minor          5.0                         
  year           2018                        
  month          04                          
  day            23                          
  svn rev        74626                       
  language       R                           
  version.string R version 3.5.0 (2018-04-23)
  nickname       Joy in Playing 
  </code></pre>
  
  <p>I'm getting the following error:</p>
  
  <pre><code>Error in install.packages :
      cannot open file 'C:/Users/Gabriel/Documents/R/win-library/3.5/file19281116cee/Rcpp/doc/Rcpp-attributes.pdf':
      Permission denied
  </code></pre>
  
  <p>Thanks a lot for your help.</p>