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

前端 未结 8 1992
猫巷女王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 10:54

    A non-zero exit status means in this case that the system failed to install the package. There seem to be a number of unresolved dependencies in the installation process. You could try to resolve this by attempting to install the package using the option dependencies=TRUE; like this:

    install.packages("ggplot2", dependencies=TRUE)
    

提交回复
热议问题