rstudio - R: Cannot use 0-cloud to install.packages -


when try install packages 0-cloud doesn't work

> install.packages("lfactors") --- please select cran mirror use in session --- 

then select 0-cloud list of repositories. , r returns

warning: unable access index repository https://cran.rstudio.com/src/contrib warning: unable access index repository https://cran.rstudio.com/bin/windows/contrib/3.2 warning message: package ‘lfactors’ not available (for r version 3.2.1)  

but, when run code , select repository work.

i tried turning off proxy server, , visiting site proxy server on , can visit in browser no issue.

any ideas?

edit: based on comment, ran this

capabilities()["libcurl"] libcurl     true 

so think it's not that.

your r binary may have been built without curl support, , cannot access https servers. see returns:

r> capabilities()["libcurl"] libcurl     true  r>  

in case false you, 2 things:

  1. change options("repos") use http instead of https.

  2. rebuild r have libcurl support.

i in rprofile.site:

## example of rprofile.site local({     r <- getoption("repos")     r["cran"] <- "http://cran.rstudio.com"    ## not https     options(repos = r) }) 

edit: possibility, particularly on windows, internet2 dll has activate, running setinternet2(true) once should help.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -