From simon.urbanek at r-project.org  Wed Oct 26 22:35:03 2011
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Wed, 26 Oct 2011 16:35:03 -0400
Subject: [Rd] Error message library()
In-Reply-To: <CABdHhvFSy74UdHKNSswaom-QviFH6ugZY+yPQFdPcS0OXOiO+g@mail.gmail.com>
References: <AA818EAD2576BC488B4F623941DA74275556099D@inbomail.inbo.be>
	<1319626156.18216.15.camel@milan>
	<1EE3E368-AEF7-450C-9331-234A7CBEAE4E@r-project.org>
	<CABdHhvFSy74UdHKNSswaom-QviFH6ugZY+yPQFdPcS0OXOiO+g@mail.gmail.com>
Message-ID: <30B68BF9-5FF5-4D7B-A4C2-E1B53112E621@r-project.org>


On Oct 26, 2011, at 4:06 PM, Hadley Wickham wrote:

>> Please, no! We don't want to enter the realm of the computer assuming it knows what you want to do (which is becoming too common nowadays, unfortunately, making the interaction more and more annoying). For some users this error simply means that they mistyped the package name, so fetching CRAN repos on that behalf ranges somewhere between overkill and stupidity. If the user can't type install.packages() then I am certainly not confident that the user can use R for any reasonable data analysis.
> 
> In that case, maybe a better message should be:
> 
>> library(xyz)
> Error in library(xyz) : there is no package called 'xyz'.
> Are you sure you are smart enough to use R?
> 
> ;)
> 

Unfortunately we are in code freeze, so it will only make it into 2.14.0 patched ... ;)

Cheers,
Simon



[Rd] Error message library()
Simon Urbanek