Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 OSX (v. 10.9.2) 上运行 R (v. 3.0.3)。
尝试使用以下命令在 R Studio 中安装“gplots”包时,出现错误:
> library("gplots") Error in library("gplots") : there is no package called ‘gplots’
我看到其他人有同样的问题,但是按照建议更新到最新的 R 版本并没有解决问题
关于我做错了什么的任何建议?
您首先需要安装该软件包,然后才能从您的库中调用它。尝试:
install.packages("gplots")
然后,您可以使用以下命令运行库命令:
library(gplots)