Dear Kristi, >From a subsequent message, you appear to have solved your problem, but whether >or not the mirror you're using is available, the command you posted won't >work. You need to put the package name in quotes: >install.packages("reshape2"), as you may have discovered.
It's the object reshape2, which doesn't exist in your workspace, that triggers the error, not the presence or absence of the package reshape2 on the CRAN mirror you're using. Best, John ----------------------------- John Fox, Professor McMaster University Hamilton, Ontario Canada L8S 4M4 Web: socserv.mcmaster.ca/jfox > -----Original Message----- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Kristi Glover > Sent: November 25, 2015 3:17 AM > To: Rainer M Krug <rai...@krugs.de> > Cc: R-help <r-help@r-project.org> > Subject: Re: [R] could not load r package in mac > > 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 <rai...@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.glo...@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.2 > > Directly 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@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: rai...@krugs.de > > Skype: RMkrug > > PGP: 0x0F52F982 > ______________________________________________ > R-help@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. ______________________________________________ R-help@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.