If your a dedicated desktop user and get an error messages like “Unable to install packages (default library ‘C:/Program Files/R/R-3.2.5/library’ is not weiteable)” try these steps to resolve the issue:

Step-by-step guide

  1. Using file Explorer Open your R folder eg 'C:/Program Files/R/R-3.2.5/'
  2. Right click on the 'library' folder and select properties.
  3. Select the security tab, click edit.
  4. Click add and type your username in the box, click ok.
  5. Ensure your username is selected, click the full control box and click apply.
  6. Try installing your R package again.