Unable to update R packages in default library on Windows 7
It happens the same to me, and after coding hours and hours in "R" of Gui Project, i got bored because it is much easier to read a code when the interface uses colours for a certain type of words (commands). Well, i decided to install RStudio, but soon i was faced with package installation problems. It seems that happens in Windows 7. The way that I used to solve this problem with RSutido was:
- C:\Program Files\R - and this is the folder that contains "R" and not RStudio folder!
- Right click for properties.
- Security.
- In "Group or user names" select your name
- click "Edit"
- select "Full control"
- Apply and click OK
After this steps you should be ok to install all the packages :-)
Usually you need administrator rights to change things in program files. Try running RGui as administrator.
try
install.packages('package_name', lib='folder')
you can specify a folder for installation of the libraries, for which you have writing permission.
Hope this helps