简体   繁体   English

自从更新到3.6.1以来,在R中加载软件包时出错

[英]Error loading packages in R since update to 3.6.1

** This problem has been solved, thanks to very helpful comments. **由于非常有用的评论,此问题已解决。 Ultimately, I needed to address the error in the following link: Git is not working after macOS Mojave Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools) **最终,我需要解决以下链接中的错误: macOS Mojave Update之后,Git无法正常工作(xcrun:错误:无效的活动开发人员路径(/ Library / Developer / CommandLineTools) **

Recently updated R. Since then, none of my packages work.最近更新的R。此后,我的所有程序包均不起作用。 I've tried uninstalling and reinstalling R and R Studio.我尝试卸载并重新安装R和R Studio。 I've also tried reinstalling all packages.我也尝试过重新安装所有软件包。 Any advice would be appreciated!任何意见,将不胜感激! Thank you in advance!先感谢您!

library("ggplot2")
Error: package or namespace load failed for ‘ggplot2’:
 .onLoad failed in loadNamespace() for 'pillar', details:
  call: utils::packageVersion("vctrs")
  error: there is no package called ‘vctrs’

library("dplyr")
Error: package or namespace load failed for ‘dplyr’:
 .onLoad failed in loadNamespace() for 'pillar', details:
  call: utils::packageVersion("vctrs")
  error: there is no package called ‘vctrs’

** This problem has been solved, thanks to very helpful comments. **由于非常有用的评论,此问题已解决。 Ultimately, I needed to address the error in the following link: Git is not working after macOS Mojave Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools) **最终,我需要解决以下链接中的错误: macOS Mojave Update之后,Git无法正常工作(xcrun:错误:无效的活动开发人员路径(/ Library / Developer / CommandLineTools) **

Recently updated R. Since then, none of my packages work.最近更新的R。此后,我的所有程序包均不起作用。 I've tried uninstalling and reinstalling R and R Studio.我尝试卸载并重新安装R和R Studio。 I've also tried reinstalling all packages.我也尝试过重新安装所有软件包。 Any advice would be appreciated!任何意见,将不胜感激! Thank you in advance!先感谢您!

library("ggplot2")
Error: package or namespace load failed for ‘ggplot2’:
 .onLoad failed in loadNamespace() for 'pillar', details:
  call: utils::packageVersion("vctrs")
  error: there is no package called ‘vctrs’

library("dplyr")
Error: package or namespace load failed for ‘dplyr’:
 .onLoad failed in loadNamespace() for 'pillar', details:
  call: utils::packageVersion("vctrs")
  error: there is no package called ‘vctrs’

** This problem has been solved, thanks to very helpful comments. **由于非常有用的评论,此问题已解决。 Ultimately, I needed to address the error in the following link: Git is not working after macOS Mojave Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools) **最终,我需要解决以下链接中的错误: macOS Mojave Update之后,Git无法正常工作(xcrun:错误:无效的活动开发人员路径(/ Library / Developer / CommandLineTools) **

Recently updated R. Since then, none of my packages work.最近更新的R。此后,我的所有程序包均不起作用。 I've tried uninstalling and reinstalling R and R Studio.我尝试卸载并重新安装R和R Studio。 I've also tried reinstalling all packages.我也尝试过重新安装所有软件包。 Any advice would be appreciated!任何意见,将不胜感激! Thank you in advance!先感谢您!

library("ggplot2")
Error: package or namespace load failed for ‘ggplot2’:
 .onLoad failed in loadNamespace() for 'pillar', details:
  call: utils::packageVersion("vctrs")
  error: there is no package called ‘vctrs’

library("dplyr")
Error: package or namespace load failed for ‘dplyr’:
 .onLoad failed in loadNamespace() for 'pillar', details:
  call: utils::packageVersion("vctrs")
  error: there is no package called ‘vctrs’

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM