[R] R Package installation

David Winsemius dwinsemius at comcast.net
Fri Aug 12 16:51:24 CEST 2016


> On Aug 12, 2016, at 3:53 AM, Dayalan, Nithya <nithya.dayalan at merck.com> wrote:
> 
> Hi Team,
> 
> We are receiving the below message while updating the package. Please help.
> 
>> install.packages("parallel", lib="D:/Program Files/R/R-3.2.5/library")
> Warning: unable to access index for repository https://cran.fhcrc.org/src/contrib:
>  cannot open URL 'https://cran.fhcrc.org/src/contrib/PACKAGES'
> Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/src/contrib:
>  cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/src/contrib/PACKAGES'
> Warning: unable to access index for repository https://cran.fhcrc.org/bin/windows/contrib/3.2:
>  cannot open URL 'https://cran.fhcrc.org/bin/windows/contrib/3.2/PACKAGES'
> Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.2:
>  cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.2/PACKAGES'
> Warning messages:
> 1: package 'parallel' is not available (for R version 3.2.5)
> 2: package 'parallel' is a base package, and should not be updated


In most case it is the first warning or error that is most meaningful, but in this case it is the last one.

The `installed.packages` function can tell you which packages are in the Bases" category:

plic <- installed.packages( .Library, priority = "base")

> rownames(plic)
 [1] "base"      "compiler"  "datasets"  "graphics"  "grDevices" "grid"      "methods"  
 [8] "parallel"  "splines"   "stats"     "stats4"    "tcltk"     "tools"     "utils"    


Updating them requires updating your R version, which is what you should do now.

-- 
David.



>> 
> 
> 
> Thanks & Regards,
> Nithya Dayalan
> AMS MRL DPS | HCL @ Merck
> E-mail: nithya.dayalan at merck.com<mailto:nithya.dayalan at merck.com>
> Tel#+91 44 61053951| Mobile +91 8754232975
> 
> Notice:  This e-mail message, together with any attachme...{{dropped:14}}
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list