[英]Error in package: sp when starting RStudio
When starting RStudio the following message appears: Loading required package: sp.
启动 RStudio 时出现以下消息: Loading required package: sp.
I try to install the sp package and the message appears:我尝试安装 sp 包并出现消息:
Warning in install.packages :
package ‘sp’ is in use and will not be installed
That way, I can not install it.这样,我无法安装它。 Also, because of this error, I'm having trouble calling the dplyr
package.另外,由于这个错误,我在调用dplyr
包时遇到了dplyr
。 How do I fix this error?我该如何解决这个错误?
Try this-尝试这个-
detach("package:sp", unload = TRUE)
install.packages("sp", dependencies=TRUE)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.