Unable to install package sampling in R 3.2 -
this question has answer here:
am trying install package sampling r version 3.2 getting following error:
warning in install.packages : internetopenurl failed: 'the server name or address not resolved' warning in install.packages : internetopenurl failed: 'the server name or address not resolved' warning in install.packages : unable access index repository http://cran.rstudio.com/src/contrib installing package ‘c:/users/ramaaj-cont/documents/r/win-library/3.2’ (as ‘lib’ unspecified) warning in install.packages : internetopenurl failed: 'the server name or address not resolved' warning in install.packages : internetopenurl failed: 'the server name or address not resolved' warning in install.packages : unable access index repository http://cran.rstudio.com/src/contrib warning in install.packages : package ‘sampling’ not available (for r version 3.2.0)
download binaries corresponding system here:
http://cran.r-project.org/web/packages/sampling/index.html
then click on "packages" in r session, "install package(s) local zip files..." , choose appropriate file.
you need package "lpsolve", make sure installed too.
Comments
Post a Comment