[Rd] install.packages() does not warn when 'lib' arg is missing on Linux or Windows
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Jun 8 21:17:52 CEST 2006
On Thu, 8 Jun 2006, Herve Pages wrote:
> Hello,
>
> Man page for 'install.packages' says that if the 'lib' arg is missing,
> then it "defaults to '.libPaths()[1]' with a warning".
> But, given the 'install.packages' source code, it seems that this warning
> is issued only when 'length(.libPaths()) > 1'.
> So typically, this warning will appear on Mac OS X but not on a Linux
> or Windows systems with default settings.
Yes, and what is the problem with that?
> On my Mac OS X system:
>
> > .libPaths()
> [1] "/Users/biocbuild/Library/R/Library"
> [2] "/Library/Frameworks/R.Framework/Versions/2.3/Resources/library"
>
> but on my Linux system:
>
> > .libPaths()
> [1] "/home/hpages/arch/x86_64/R-2.3.1/library"
>
> I'm using R-2.3.1 on both systems.
> Best,
>
>
> H.
>
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-devel
mailing list