[Rd] Error message library()

Timothy Bates timothy.c.bates at gmail.com
Thu Oct 27 20:43:34 CEST 2011


I agree: much nicer to say what went wrong than to say "there is no package"

And many people will not know what R's paths are.

Why not add in a hint about what to do, like:  "try running install.packages("xyz") "

t


> ggrothendieck
> Many beginners are advanced but just don't know R.  Its better to give
> them the information they need.  With this they can discover what is
> there even without knowing the relevant R commands.

On Oct 27, 2011, at 7:36 PM, Gabor Grothendieck wrote:
> On Thu, Oct 27, 2011 at 2:10 PM, Milan Bouchet-Valat <nalimilan at club.fr> wrote:
>> Le jeudi 27 octobre 2011 à 13:45 -0400, Gabor Grothendieck a écrit :
>>> Perhaps it could report where it looked and couldn't find it:
>>> 
>>> There is no package called 'xyz' in "C:/R/win-library/2.13" and
>>> "C:/R/R-2.13.2/library"
>> I think it would be even more scary for beginners, and advanced users
>> probably know how to find their library path.



More information about the R-devel mailing list