r - Unable to download new packages in R on Mac
问题描述
Since updating R, I cannot seem to download any new packages without running into some errors. Most recently, I am unable to even load the ggplot2 package. Here are the errors I receive:
library(ggplot2)
Error: package or namespace load failed for ‘ggplot2’ in rbind(info, getNamespaceInfo(env, "S3methods")):
number of columns of matrices must match (see arg 2)
In addition: Warning messages:
1: In normalizePath(dirname(f)) : path[1]="NA": No such file or directory
2: package ‘ggplot2’ was built under R version 3.6.2
Can someone tell me what this means/how to fix it?
解决方案
推荐阅读
- wrapper - DirectX 9 包装器强制分辨率和屏幕
- matlab - 如何在for循环后在图中插入图例
- html - Css 输入滑块有奇怪的定位
- r - 收集、平均和结果
- javascript - 如何在组件之间共享 websocket
- javascript - 用 AJAX 请求替换内部 .JSON 时代码行为发生变化
- pyqt5 - 如何去除 PyQt 或 PySide2 的 QLineEdit 的外线边框?
- user-interface - 在 Flutter(iOS、Android)中无延迟地识别指针向下事件
- android - 如何在 Android SQLi 数据库表列上收到最后一个非 NULL 记录?
- go - 为什么未定义:将自定义结构作为指针传递时引发错误?