Error installing gplots

jensjorda picture jensjorda · Apr 10, 2014 · Viewed 9.1k times · Source

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?

Answer

Nathaniel Payne picture Nathaniel Payne · Apr 10, 2014

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)