Re: [Rd] Error message library()

2011-10-28 Thread David Winsemius
On Oct 28, 2011, at 12:02 PM, Gabor Grothendieck wrote: On Fri, Oct 28, 2011 at 6:49 AM, Renaud Gaujoux wrote: "BTW: an ever more intuitive solution (IMHO) would be to auto- complete package names in library( ... Deepayan?;) That is non-intrusive and in line with the general use of R." (S

Re: [Rd] Error message library()

2011-10-28 Thread Gabor Grothendieck
On Fri, Oct 28, 2011 at 6:49 AM, Renaud Gaujoux wrote: > "BTW: an ever more intuitive solution (IMHO) would be to auto-complete > package names in library( ... Deepayan?;)  That is non-intrusive and in line > with the general use of R." (Simon) > > This is indeed a long wanted feature and to my su

Re: [Rd] Error message library()

2011-10-28 Thread Simon Urbanek
On Oct 28, 2011, at 6:49 AM, Renaud Gaujoux wrote: > "BTW: an ever more intuitive solution (IMHO) would be to auto-complete > package names in library( ... Deepayan?;) That is non-intrusive and in line > with the general use of R." (Simon) > > This is indeed a long wanted feature and to my su

Re: [Rd] Error message library()

2011-10-28 Thread Renaud Gaujoux
"BTW: an ever more intuitive solution (IMHO) would be to auto-complete package names in library( ... Deepayan?;) That is non-intrusive and in line with the general use of R." (Simon) This is indeed a long wanted feature and to my surprise it actually already exists!!! (seems that Deepayan did

Re: [Rd] Error message library()

2011-10-27 Thread Timothy Bates
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 bett

Re: [Rd] Error message library()

2011-10-27 Thread Gabor Grothendieck
On Thu, Oct 27, 2011 at 2:10 PM, Milan Bouchet-Valat 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 t

Re: [Rd] Error message library()

2011-10-27 Thread Milan Bouchet-Valat
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 p

Re: [Rd] Error message library()

2011-10-27 Thread Gabor Grothendieck
On Wed, Oct 26, 2011 at 5:46 AM, ONKELINX, Thierry wrote: > Dear all, > > When one tries to load a non-installed package you get the error: > > Error in library(xyz) : there is no package called 'xyz' > > I noticed on several occasions that this puzzles beginners. Therefore I > suggest to change

Re: [Rd] Error message library()

2011-10-27 Thread Roebuck,Paul L
On 10/26/11 5:49 AM, "Milan Bouchet-Valat" wrote: > Le mercredi 26 octobre 2011 à 09:46 +, ONKELINX, Thierry a écrit : > >> When one tries to load a non-installed package you get the error: >> >> Error in library(xyz) : there is no package called 'xyz' >> >> I noticed on several occasions tha

Re: [Rd] Error message library()

2011-10-26 Thread Simon Urbanek
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 sim

Re: [Rd] Error message library()

2011-10-26 Thread Hadley Wickham
> 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 fetchin

Re: [Rd] Error message library()

2011-10-26 Thread Kevin Wright
Thierry, I agree with you and think that computers _should_ help users. When R tells me a package does not exist, it is almost never because I typed an incorrect package name. Almost always it is because: (1) I am using an old script with a new version of R and have not yet installed a package.

Re: [Rd] Error message library()

2011-10-26 Thread Simon Urbanek
On Oct 26, 2011, at 1:05 PM, Milan Bouchet-Valat wrote: > Le mercredi 26 octobre 2011 à 12:34 -0400, Simon Urbanek a écrit : >> 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 th

Re: [Rd] Error message library()

2011-10-26 Thread Milan Bouchet-Valat
Le mercredi 26 octobre 2011 à 12:34 -0400, Simon Urbanek a écrit : > 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 er

Re: [Rd] Error message library()

2011-10-26 Thread Simon Urbanek
On Oct 26, 2011, at 6:49 AM, Milan Bouchet-Valat wrote: > Le mercredi 26 octobre 2011 à 09:46 +, ONKELINX, Thierry a écrit : >> Dear all, >> >> When one tries to load a non-installed package you get the error: >> >> Error in library(xyz) : there is no package called 'xyz' >> >> I noticed

Re: [Rd] Error message library()

2011-10-26 Thread Milan Bouchet-Valat
Le mercredi 26 octobre 2011 à 09:46 +, ONKELINX, Thierry a écrit : > Dear all, > > When one tries to load a non-installed package you get the error: > > Error in library(xyz) : there is no package called 'xyz' > > I noticed on several occasions that this puzzles beginners. Therefore > I sug

[Rd] Error message library()

2011-10-26 Thread ONKELINX, Thierry
Dear all, When one tries to load a non-installed package you get the error: Error in library(xyz) : there is no package called 'xyz' I noticed on several occasions that this puzzles beginners. Therefore I suggest to change the error description in: Error in library(xyz) : there is no package