[R] Windows Installation Without Third-Party Packages

peter dalgaard pdalgd at gmail.com
Thu Apr 9 23:53:29 CEST 2015


> 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



More information about the R-help mailing list