Question

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?

Was it helpful?

Solution

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)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top