I am running R (v. 3.0.3) on OSX (v. 10.9.2).

When trying to install the 'gplots' package in R studio with the following command, I get an error:

> library("gplots")
Error in library("gplots") : there is no package called ‘gplots’

I have seen others having the same problem, but updating to the newest R version as suggested did not solve the problem

Any suggestions on what i am doing wrong?

有帮助吗?

解决方案

You first need to install the package before you can call it from your library. Try:

install.packages("gplots")

Then, you can run your library command using:

library(gplots)
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top