Can't access User Library in R - “Non-Zero Exit Status” warning

前端 未结 8 1951
猫巷女王i
猫巷女王i 2020-12-30 10:19

When I tried to install packages on my work laptop, I got an error. I\'ve been told that I have full privileges with the laptop, so there should be no blocks.

I thi

相关标签:
8条回答
  • 2020-12-30 11:04

    i was struggling with the same problem, for a long time and mikes solution didnt help me either. I tried everything upto reinstalling R. Still didnt work. However the solution is quite simple in my case. In the Terminal dont run R as R but use:

    sudo -i R
    

    or change ownership of the r package folders, becaues if its owned by root you are not allowed to read or write in it.

    0 讨论(0)
  • 2020-12-30 11:09

    I had the same problem and solved it by install g++ compiler

    $ sudo apt install g++

    0 讨论(0)
提交回复
热议问题