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 开发者_StackOverflow社区version 2.13.0)
Regards, Jasdeep Mandia
Simply enough, quadprog isn't hosted on r-forge. Why are you trying to use r-forge instead of CRAN?
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.
精彩评论