Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R: how to install this package?

Tags:

r

I am trying to install the fpc package. According to

http://en.wikibooks.org/wiki/Data_Mining_Algorithms_In_R/Clustering/Density-Based_Clustering

it's easy: just type install.packages("fpc", dependencies = TRUE)

I did that. But after 10-15 minutes of downloading whatever and thousands of lines flushing down my screen, RStudio did not react anymore.

Now I'm trying to install without dependencies = TRUE and get this error:

ERROR: dependencies ‘mclust’, ‘flexmix’ are not available for package ‘fpc’

Then I tried to do install.packages("mclust")

but I get this:

package ‘mclust’ is not available (for R version 2.14.1)

Why can I not just install that package fpc? It seems to be quite prominent, so why is it so complicated to install it?

like image 502
user3182532 Avatar asked Dec 11 '25 03:12

user3182532


1 Answers

Upgrade R to ver 3.x and You can install fpc from menubar on Rstudio

Choose Tools >> Install Package >> then type "fpc"

It will then download automatically.

I'm using Rstudio ver 0.98.1002 and R ver 3.1.2

like image 116
aries Avatar answered Dec 13 '25 18:12

aries



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!