r - 包 'ggbiplot' 不可用(对于 R 版本 3.5.3)?
问题描述
install.packages 中的警告:
包 'ggbiplot' 不可用(对于 R 版本 3.5.3)
尝试了我发现安装此软件包的所有选项。这个版本的 R 不能使用它吗?我还有其他方法可以在我的 RStudio 上使用 ggbiplot 吗?
解决方案
根据Installation下的存储库的README.md,您需要
library(devtools)
install_github("vqv/ggbiplot")
编辑:根据您的评论,我现在在一个新的 Docker 容器中运行它r-base
。它工作顺利:
> library(devtools)
> install_github("vqv/ggbiplot")
Downloading GitHub repo vqv/ggbiplot@master
[...stuff deleted here for brevity...]
* installing *source* package ‘ggbiplot’ ...
** R
** data
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (ggbiplot)
>
所以它就像我声称的那样工作。在这两者之间,它需要另一个小转移,因为这个包显然不是tinyverse的一部分,也需要所有这些:
Installing 10 packages: colorspace, ggplot2, gtable, labeling,
munsell, plyr, RColorBrewer, reshape2, scales, viridisLite
尽管如此,最初的建议仍然如愿。
推荐阅读
- mysql - Dockerfile 不会从我的 initialize.sql 创建表
- excel - 如何在vba中动态使用文本框查询excel
- django - 为什么迁移后页面不显示?
- node.js - 如何在调试模式下使用 node.js ts 运行 pm2 并在 WebStorm 上中断
- java - jmap 实时堆转储如何包含无法访问的对象?
- hyperledger - 用于生产的 Hyperledger Fabric 支持
- javascript - 没有从地理服务器成功获取瓷砖
- ios - 如何在 Xcode 中更改导航栏项目(特别是按钮)的宽度?
- perl - Perl:如何连接文本文件的两列,其中第一列的值应按顺序与第二列的值匹配
- .net - 如何在 Amazon VPC 中查找是否启用了 DNS 主机和 DNS 解析