However, trying this on Linux Mint gave package ?installr? is not available (for R version 3.4.2) Has the package not been updated yet? JN Try the installr package. It was designed for this purpose. On Fri, Nov 10, 2017 at 11:49 AM, Bond, Stephen <Stephen.Bond at cibc.com> wrote:> Is there a utility which will allow me to upgrade my R version and update all packages from the old version? > If I manually upgrade, then I have to manually re-install 50 packages. > Thank you. > > Stephen B > >
installr is Windows-specific. From the DESCRIPTION OS_type:windows I would guess that some of it would work on other OS, but you would have to check. If it looks useful elsewhere you should tell Tal Maintainer:Tal Galili <tal.galili at gmail.com> Rich On Fri, Nov 10, 2017 at 1:18 PM, J C Nash <profjcnash at gmail.com> wrote:> However, trying this on Linux Mint gave > > package ?installr? is not available (for R version 3.4.2) > > Has the package not been updated yet? > > > JN > > > Try the installr package. It was designed for this purpose. > > On Fri, Nov 10, 2017 at 11:49 AM, Bond, Stephen <Stephen.Bond at cibc.com> wrote: >> Is there a utility which will allow me to upgrade my R version and update all packages from the old version? >> If I manually upgrade, then I have to manually re-install 50 packages. >> Thank you. >> >> Stephen B >> >>
This issue does not exist on Linux. My Ubuntu updates both R and all packages. Stephen B -----Original Message----- From: J C Nash [mailto:profjcnash at gmail.com] Sent: Friday, November 10, 2017 1:19 PM To: r-help; RICHARD M. HEIBERGER; Bond, Stephen Subject: Re: [R] update R version in windows However, trying this on Linux Mint gave package ?installr? is not available (for R version 3.4.2) Has the package not been updated yet? JN Try the installr package. It was designed for this purpose. On Fri, Nov 10, 2017 at 11:49 AM, Bond, Stephen <Stephen.Bond at cibc.com> wrote:> Is there a utility which will allow me to upgrade my R version and update all packages from the old version? > If I manually upgrade, then I have to manually re-install 50 packages. > Thank you. > > Stephen B > >
That only works if you use apt-get for all package installs... I don't even know if that is possible. Use of install.packages within R works the same on all platforms... that is, upgrading R by a minor version (3.3 to 3.4) causes R to go looking for user-installed packages in a new library directory, while patchlevel upgrades (3.4.1 to 3.4.2) keep using the same library directory (read the R Installation and Administration Manual). -- Sent from my phone. Please excuse my brevity. On November 10, 2017 10:33:49 AM PST, "Bond, Stephen" <Stephen.Bond at cibc.com> wrote:>This issue does not exist on Linux. My Ubuntu updates both R and all >packages. > >Stephen B > > >-----Original Message----- >From: J C Nash [mailto:profjcnash at gmail.com] >Sent: Friday, November 10, 2017 1:19 PM >To: r-help; RICHARD M. HEIBERGER; Bond, Stephen >Subject: Re: [R] update R version in windows > >However, trying this on Linux Mint gave > > package ?installr? is not available (for R version 3.4.2) > >Has the package not been updated yet? > > >JN > > >Try the installr package. It was designed for this purpose. > >On Fri, Nov 10, 2017 at 11:49 AM, Bond, Stephen <Stephen.Bond at >cibc.com> wrote: >> Is there a utility which will allow me to upgrade my R version and >update all packages from the old version? >> If I manually upgrade, then I have to manually re-install 50 >packages. >> Thank you. >> >> Stephen B >> >> >______________________________________________ >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.