开发者

unable to install quadprog package on R Version 2.13.0 on mac

开发者 https://www.devze.com 2023-03-21 03:29 出处:网络
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\")

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消