[R] CentOS 6.5 x86_64 R installation throwing "Error in download.file(url, destfile = f, quiet = TRUE) : unsupported URL scheme" error
Damion Reeves
damion at contexti.com
Mon Nov 2 01:34:29 CET 2015
Just wondering if any CRAN or "R" guru out there might have seen something
like this....and could advise a potential fix (or advise what, if anything
I've missed) ?
I've installed pre-req packages without an issue:
[hostname ]# *yum install libxml2-devel git svn gtk+-devel gtk2-devel
gnutls-devel openssl-devel mysql-devel*
[hostname ]# *yum install R-core*
[hostname ]# *yum install R-core-devel*
[hostname ]# *yum groupinstall "Development Tools"*
I can start "R":
[hostname ]# *R*
R version 3.2.0 (2015-04-16) -- "Full of Ingredients"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-redhat-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> q()
Save workspace image? [y/n/c]: n
But when I try and install packages, I get the following (and it doesn't
show the Australian CRAN mirror which I think is normally option 5 and 6):
[hostname ]# *R*
R version 3.2.0 (2015-04-16) -- "Full of Ingredients"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-redhat-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> *install.packages(c('rJava','RJDBC','sqldf','forecast','ggplot2','plyr','dplyr','tidyr','Rcpp','devtools','googleVis','arules','RCurl','corrgram','base64enc','lubridate','randomForest','shiny','oz','WDI','Hmisc'))*
Installing packages into ‘/usr/lib64/R/library’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
*Error in download.file(url, destfile = f, quiet = TRUE) : unsupported URL
scheme*
HTTPS CRAN mirror
1: 0-Cloud [https] 2: Austria [https]
3: China (Beijing 4) [https] 4: China (Hefei) [https]
5: Colombia (Cali) [https] 6: France (Lyon 2) [https]
7: Iceland [https] 8: Russia (Moscow 1) [https]
9: Switzerland [https] 10: UK (Bristol) [https]
11: UK (Cambridge) [https] 12: USA (CA 1) [https]
13: USA (KS) [https] 14: USA (MI 1) [https]
15: USA (TN) [https] 16: USA (TX) [https]
17: USA (WA) [https] 18: (HTTP mirrors)
Selection: 0
Error in contrib.url(repos, type) :
trying to use CRAN without setting a mirror
> *q()*
Save workspace image? [y/n/c]: *n*
--
*Regards,*
*Damion Reeves* | Platform Engineer
*Contexti | Big Data Analytics*
Level 4, 80 Clarence Street Sydney NSW
damion at contexti.com | +61 422 927 757 | http://www.contexti.com
[[alternative HTML version deleted]]
More information about the R-help
mailing list