On 09.04.2015 23:16, John C Frain wrote:> My understanding is that the packages installed with the windows installer > were only updated by installing a new version of R or the patched install > file for the current version. If this is the case you you do not need to be > concerned about updates to these packages. Perhaps some one wiser that I > can confirm if my assumption is right or wrong.No, updates of such recommended packages may be available between R releases. But individual users can install new versions using install.packages() into their private libraries, e.g. those that are first on the search path (given by .libPaths()) so that they are loaded first. Best, Uwe Ligges> John > > John C Frain > 3 Aranleigh Park > Rathfarnham > Dublin 14 > Ireland > www.tcd.ie/Economics/staff/frainj/home.html > mailto:frainj at tcd.ie > mailto:frainj at gmail.com > > On 9 April 2015 at 14:42, Elliot Joel Bernstein <ejb6 at cornell.edu> wrote: > >> I am trying to install R for Windows, but when I use the installer provided >> on CRAN, a number of third-party packages are installed by default (i.e. >> lattice, Matrix, codetools, etc.). If R is installed with administrator >> privileges, so it's available for all users, non-administrators can't >> update those packages. Is there any way to just install R without any >> third-party packages, and let individual users install the packages they >> want? >> >> Thanks. >> >> - Elliot >> >> [[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]] > > ______________________________________________ > 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. >
peter dalgaard
2015-Apr-09 21:53 UTC
[R] Windows Installation Without Third-Party Packages
> On 09 Apr 2015, at 23:26 , Uwe Ligges <ligges at statistik.tu-dortmund.de> wrote: > > > > On 09.04.2015 23:16, John C Frain wrote: >> My understanding is that the packages installed with the windows installer >> were only updated by installing a new version of R or the patched install >> file for the current version. If this is the case you you do not need to be >> concerned about updates to these packages. Perhaps some one wiser that I >> can confirm if my assumption is right or wrong. > > > No, updates of such recommended packages may be available between R releases. But individual users can install new versions using install.packages() into their private libraries, e.g. those that are first on the search path (given by .libPaths()) so that they are loaded first.However, little care is needed since the version in a private library may override the system one even after an R upgrade has updated it; i.e. an older version can end up in front of a newer one, which may cause some confusion.> > Best, > Uwe Ligges > > > > > >> John >> >> John C Frain >> 3 Aranleigh Park >> Rathfarnham >> Dublin 14 >> Ireland >> www.tcd.ie/Economics/staff/frainj/home.html >> mailto:frainj at tcd.ie >> mailto:frainj at gmail.com >> >> On 9 April 2015 at 14:42, Elliot Joel Bernstein <ejb6 at cornell.edu> wrote: >> >>> I am trying to install R for Windows, but when I use the installer provided >>> on CRAN, a number of third-party packages are installed by default (i.e. >>> lattice, Matrix, codetools, etc.). If R is installed with administrator >>> privileges, so it's available for all users, non-administrators can't >>> update those packages. Is there any way to just install R without any >>> third-party packages, and let individual users install the packages they >>> want? >>> >>> Thanks. >>> >>> - Elliot >>> >>> [[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]] >> >> ______________________________________________ >> 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. >> > > ______________________________________________ > 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.-- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
Jeff Newmiller
2015-Apr-09 22:25 UTC
[R] Windows Installation Without Third-Party Packages
I would suggest that the scenario suggested by Peter is exactly as it should be... with the user fully in charge of which packages they use. A simple update can correct any version "inversion" if it occurs, and the user need not blame the sysadmin if their scripts stop working because of a system update. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity. On April 9, 2015 2:53:29 PM PDT, peter dalgaard <pdalgd at gmail.com> wrote:> >> On 09 Apr 2015, at 23:26 , Uwe Ligges ><ligges at statistik.tu-dortmund.de> wrote: >> >> >> >> On 09.04.2015 23:16, John C Frain wrote: >>> My understanding is that the packages installed with the windows >installer >>> were only updated by installing a new version of R or the patched >install >>> file for the current version. If this is the case you you do not >need to be >>> concerned about updates to these packages. Perhaps some one wiser >that I >>> can confirm if my assumption is right or wrong. >> >> >> No, updates of such recommended packages may be available between R >releases. But individual users can install new versions using >install.packages() into their private libraries, e.g. those that are >first on the search path (given by .libPaths()) so that they are loaded >first. > >However, little care is needed since the version in a private library >may override the system one even after an R upgrade has updated it; >i.e. an older version can end up in front of a newer one, which may >cause some confusion. > >> >> Best, >> Uwe Ligges >> >> >> >> >> >>> John >>> >>> John C Frain >>> 3 Aranleigh Park >>> Rathfarnham >>> Dublin 14 >>> Ireland >>> www.tcd.ie/Economics/staff/frainj/home.html >>> mailto:frainj at tcd.ie >>> mailto:frainj at gmail.com >>> >>> On 9 April 2015 at 14:42, Elliot Joel Bernstein <ejb6 at cornell.edu> >wrote: >>> >>>> I am trying to install R for Windows, but when I use the installer >provided >>>> on CRAN, a number of third-party packages are installed by default >(i.e. >>>> lattice, Matrix, codetools, etc.). If R is installed with >administrator >>>> privileges, so it's available for all users, non-administrators >can't >>>> update those packages. Is there any way to just install R without >any >>>> third-party packages, and let individual users install the packages >they >>>> want? >>>> >>>> Thanks. >>>> >>>> - Elliot >>>> >>>> [[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]] >>> >>> ______________________________________________ >>> 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. >>> >> >> ______________________________________________ >> 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.
peter dalgaard
2015-Apr-10 09:06 UTC
[R] Windows Installation Without Third-Party Packages
On 09 Apr 2015, at 23:53 , peter dalgaard <pdalgd at gmail.com> wrote:> However, little care is neededAaaargh. _a_ little care is needed. (The other thing means that you almost do not need to care.) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com