Re: [Rd] install.packages() does not warn when 'lib' arg is missing on Linux or Windows

2006-06-09 Thread Herve Pages
Simon Urbanek wrote: > On Jun 8, 2006, at 9:08 PM, Herve Pages wrote: > >> Man page for 'install.packages' says that if the 'lib' arg is missing, >> then it "defaults to '.libPaths()[1]' with a warning". > > Where are you quoting from? I read (R 2.3.1): Hi Simon, I was quoting from the descriptio

Re: [Rd] install.packages() does not warn when 'lib' arg is missing on Linux or Windows

2006-06-08 Thread Simon Urbanek
Herve, On Jun 8, 2006, at 9:08 PM, Herve Pages wrote: > Man page for 'install.packages' says that if the 'lib' arg is missing, > then it "defaults to '.libPaths()[1]' with a warning". Where are you quoting from? I read (R 2.3.1): install.packages can be used to install new packages/bundles. It

Re: [Rd] install.packages() does not warn when 'lib' arg is missing on Linux or Windows

2006-06-08 Thread Herve Pages
Prof Brian Ripley wrote: > On Thu, 8 Jun 2006, Herve Pages wrote: > >> 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

Re: [Rd] install.packages() does not warn when 'lib' arg is missing on Linux or Windows

2006-06-08 Thread Prof Brian Ripley
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())

[Rd] install.packages() does not warn when 'lib' arg is missing on Linux or Windows

2006-06-08 Thread Herve Pages
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 Ma