[R] R Package installation

David Winsemius dwinsemius at comcast.net
Fri Aug 12 17:18:19 CEST 2016


> On Aug 12, 2016, at 7:53 AM, Dayalan, Nithya <nithya.dayalan at merck.com> wrote:
> 
> Hi David,
> 
> Okay thank you, but the error message receiving for other packages.
> 
>> install.packages("Rtsne", lib="D:/Program Files/R/R-3.2.5/library")
> --- Please select a CRAN mirror for use in this session ---
> Error in download.file(url, destfile = f, quiet = TRUE) : 
>  cannot open URL 'https://cran.r-project.org/CRAN_mirrors.csv'
> In addition: Warning message:
> In
>  InternetOpenUrl failed: 'A connection with the server could not be established'
> Warning: unable to access index for repository https://cran.uni-muenster.de/src/contrib:
>  cannot open URL 'https://cran.uni-muenster.de/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.uni-muenster.de/bin/windows/contrib/3.2:
>  cannot open URL 'https://cran.uni-muenster.de/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 message:
> package 'Rtsne' is not available (for R version 3.2.5)

So you need to address your system access issues. Review the R Windows FAQ.

https://cran.r-project.org/bin/windows/base/rw-FAQ.html#The-Internet-download-functions-fail_002e

> 
> Thanks & Regards,
> Nithya Dayalan
> AMS MRL DPS | HCL @ Merck
> E-mail: nithya.dayalan at merck.com
> Tel#+91 44 61053951| Mobile +91 8754232975
> 
> 
> -----Original Message-----
> From: David Winsemius [mailto:dwinsemius at comcast.net] 
> Sent: Friday, August 12, 2016 10:51 AM
> To: Dayalan, Nithya
> Cc: r-help at R-project.org; Radhakrishan, Balaji
> Subject: Re: [R] R Package installation
> 
> 
>> 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
> 
> Notice:  This e-mail message, together with any attach...{{dropped:20}}



More information about the R-help mailing list