Skip to content

Please help me, I'm trying to update my version of R

5 messages · KMNanus, Thomas Mailund, Berend Hasselman

#
I?m a newbie running 3.2.4 on a mac equipped with Yosemite (10.10.5).

I want to update to 3.3.1 and have downloaded the package, but have not been able to install it.  I?ve tried install.packages("R-3.3.1.tar.gz?) and install.packages("R-3.3.1.pkg?) after downloading both files.

I get an error msg - "package ?R-3.3.1.pkg? is not available (for R version 3.2.4)"

I know this question has shown up on several message boards but I?m having trouble understanding the process.

Is there a straightforward way to update my version of R and, if successful, will R automatically work with the packages I?ve installed?

Ken Nanus
kmnanus at gmail.com
914-450-0816 (tel)
347-730-4813 (fax)
#
Hi Ken,

You are trying to install R as a package. That won't work. The .pkg file you downloaded from https://cran.r-project.org/bin/macosx/ is an installer, though, so if you just double-click on it, it should take you through the installation. After that you probably need to install a number of packages, since the ones you have installed for version 3.2 R won't be available in the 3.3 installation, but *those* packages you can install using install.packages.

Cheers

--
Thomas Mailund
On 22 August 2016 at 22:17:50, KMNanus (kmnanus at gmail.com<mailto:kmnanus at gmail.com>) wrote:
I?m a newbie running 3.2.4 on a mac equipped with Yosemite (10.10.5).

I want to update to 3.3.1 and have downloaded the package, but have not been able to install it. I?ve tried install.packages("R-3.3.1.tar.gz?) and install.packages("R-3.3.1.pkg?) after downloading both files.

I get an error msg - "package ?R-3.3.1.pkg? is not available (for R version 3.2.4)"

I know this question has shown up on several message boards but I?m having trouble understanding the process.

Is there a straightforward way to update my version of R and, if successful, will R automatically work with the packages I?ve installed?

Ken Nanus
kmnanus at gmail.com
914-450-0816<tel:914-450-0816> (tel)
347-730-4813<tel:347-730-4813> (fax)



______________________________________________
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.
#
Thanks for getting back to me. Worked like a charm.  


Ken
kmnanus at gmail.com
914-450-0816 (tel)
347-730-4813 (fax)
#
This question is actually for R-SIG-Mac.

After double clicking on the R-3.3.1.pkg you will have R 3.3.1 installed.
You don't need to run install.packages to get the packages for R-3.3.1.
You can have R install the current versions of the packages you had installed.

Start the R GUI.
Go to the menu: 
- Click Packages & Data
- select Package Installer
- click Get List
- click the disclosure triangle in the Package Search input field. And then click Select packages from R.....

This should work if your previous installation of R was installed by the regular installer of R on Mac OS X.

Berend
#
Follow up on my previous mail.

See the FAQ for OS X :https://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html

Read the section  "3.2 Installation of packages". It tells it all.
(reachable from the contents entry "How to install packages").

Berend