[Rd] Error message library()

Simon Urbanek simon.urbanek at r-project.org
Wed Oct 26 22:35:03 CEST 2011


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



More information about the R-devel mailing list