Jasdeep
Jasdeep

Reputation: 23

unable to install quadprog package on R Version 2.13.0 on mac

I am unable to install quadprog package on R Version 2.13.0 on mac

install.packages("quadprog", repos="http://R-Forge.R-project.org")

Warning message: In getDependencies(pkgs, dependencies, available, lib) : package ‘quadprog’ is not available (for R version 2.13.0)

Regards, Jasdeep Mandia

Upvotes: 1

Views: 2071

Answers (2)

IRTFM
IRTFM

Reputation: 263362

Perhaps you are thinking of Rquadprog? It is hosted on r-forge. On a Mac you will need to use the type="source" argument to install.packages for anything on r-forge, and you may need to install Xcode if the package is not just pure R code.

Upvotes: 2

Joshua Ulrich
Joshua Ulrich

Reputation: 176668

Simply enough, quadprog isn't hosted on r-forge. Why are you trying to use r-forge instead of CRAN?

Upvotes: 2

Related Questions