Unable to update R packages in default library on Windows 7

前端 未结 11 1670
别那么骄傲
别那么骄傲 2020-11-27 04:41

I\'m trying to update packages on RGui (64-bit) using update.packages but I\'m getting the following message:

Warning in install.packages(update         


        
11条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-27 05:15

    I had this exact problem and just changed it for myself. That is I navigated to C:/PROGRAM/R and then right clicked on the R to bring up properties. Went to the Security tab clicked on the Group/User that you want to add permissions for. That for me was USER then clicked EDIT and then selected the boxes that were unchecked to Allow control over. I had to do this specifically for each user (of course I was running the entire time as administrator). Clicked Apply/OK and all is well. I can now update/install/ new libraries and what have you for this computer without having to run R as the admin.

提交回复
热议问题