Hi R user, I was wondering why I could not load R packages such as reshape2 in mac. I tried different ways but could not success. here I what I got Warning: unable to access index for repository http://cran.parentingamerica.com/bin/macosx/mavericks/contrib/3.2> install.packages(reshape2)Error in install.packages(reshape2) : object 'reshape2' not found>Any hints? [[alternative HTML version deleted]]
Have you tried a different mirror? If they all fail, also check your internet connection. PhG> On 25 Nov 2015, at 09:01, Kristi Glover <kristi.glover at hotmail.com> wrote: > > Hi R user, > > I was wondering why I could not load R packages such as reshape2 in mac. I tried different ways but could not success. > > > here I what I got > > > Warning: unable to access index for repository http://cran.parentingamerica.com/bin/macosx/mavericks/contrib/3.2 > > >> install.packages(reshape2) > > Error in install.packages(reshape2) : object 'reshape2' not found > >> > > Any hints? > > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.
Kristi Glover <kristi.glover at hotmail.com> writes:> Hi R user, > > I was wondering why I could not load R packages such as reshape2 in mac. I tried different ways but could not success. > > > here I what I got > > > Warning: unable to access index for repository http://cran.parentingamerica.com/bin/macosx/mavericks/contrib/3.2Directly clicking on the link reveals: the mirror is down. Choose a different mirror and it should work. Cheers, Rainer> > >> install.packages(reshape2) > > Error in install.packages(reshape2) : object 'reshape2' not found > >> > > Any hints? > > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.-- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer at krugs.de Skype: RMkrug PGP: 0x0F52F982 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 454 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20151125/86c0c910/attachment.bin>
I don't know how i can chose different mirror. I am new in mac. Would you mind to give a little bit more information? I have installed R 3.2.2 binary for Mac OS X 10.9 I tried following one Warning: unable to access index for repository http://cran.parentingamerica.com/src/contrib Warning: unable to access index for repository http://R.research.att.com/ thanks ________________________________________ From: Rainer M Krug <Rainer at krugs.de> Sent: November 25, 2015 1:09 AM To: Kristi Glover Cc: R-help Subject: Re: [R] could not load r package in mac Kristi Glover <kristi.glover at hotmail.com> writes:> Hi R user, > > I was wondering why I could not load R packages such as reshape2 in mac. I tried different ways but could not success. > > > here I what I got > > > Warning: unable to access index for repository http://cran.parentingamerica.com/bin/macosx/mavericks/contrib/3.2Directly clicking on the link reveals: the mirror is down. Choose a different mirror and it should work. Cheers, Rainer> > >> install.packages(reshape2) > > Error in install.packages(reshape2) : object 'reshape2' not found > >> > > Any hints? > > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.-- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer at krugs.de Skype: RMkrug PGP: 0x0F52F982
The usual issue is that the mirror is unavailable and you need to choose a different one. Another complication is the recent switch to preferring secure repositories, which only a minority of mirrors are currently supporting. To address that be sure to pick a mirror that has https protocol. -- Sent from my phone. Please excuse my brevity. On November 25, 2015 12:01:59 AM PST, Kristi Glover <kristi.glover at hotmail.com> wrote:>Hi R user, > >I was wondering why I could not load R packages such as reshape2 in >mac. I tried different ways but could not success. > > >here I what I got > > >Warning: unable to access index for repository >http://cran.parentingamerica.com/bin/macosx/mavericks/contrib/3.2 > > >> install.packages(reshape2) > >Error in install.packages(reshape2) : object 'reshape2' not found > >> > > Any hints? > > > > [[alternative HTML version deleted]] > >______________________________________________ >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.[[alternative HTML version deleted]]
Got it. Thanks for your kind help. ________________________________ From: Jeff Newmiller <jdnewmil at dcn.davis.ca.us> Sent: November 25, 2015 1:20 AM To: Kristi Glover; R-help Subject: Re: [R] could not load r package in mac The usual issue is that the mirror is unavailable and you need to choose a different one. Another complication is the recent switch to preferring secure repositories, which only a minority of mirrors are currently supporting. To address that be sure to pick a mirror that has https protocol. -- Sent from my phone. Please excuse my brevity. On November 25, 2015 12:01:59 AM PST, Kristi Glover <kristi.glover at hotmail.com> wrote: Hi R user, I was wondering why I could not load R packages such as reshape2 in mac. I tried different ways but could not success. here I what I got Warning: unable to access index for repository http://cran.parentingamerica.com/bin/macosx/mavericks/contrib/3.2 install.packages(reshape2) Error in install.packages(reshape2) : object 'reshape2' not found Any hints? [[alternative HTML version deleted]] ________________________________ 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. [[alternative HTML version deleted]]