From ggrothendieck at gmail.com  Fri Oct 28 18:02:03 2011
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Fri, 28 Oct 2011 12:02:03 -0400
Subject: [Rd] Error message library()
In-Reply-To: <4EAA88C7.3080302@cbio.uct.ac.za>
References: <4EAA88C7.3080302@cbio.uct.ac.za>
Message-ID: <CAP01uRnLSdRXqnQMF+q662eycj9jPjjumX9Vh_tyKReZjDjUNg@mail.gmail.com>

On Fri, Oct 28, 2011 at 6:49 AM, Renaud Gaujoux
<renaud at mancala.cbio.uct.ac.za> 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 surprise it actually already
> exists!!! (seems that Deepayan did not tell anybody about it ;) )
> The help page ?completion in the utils package explains how to enable it:
>
> utils::rc.settings(ipck=TRUE)
>
> It simply worked on my Ubuntu box -- and directly went in my .Rprofile :)
> Hope this helps.
>

Also in terms of what exists now, on Windows the Packages > Load
Package menu on Rgui provides a gui interface to library() from which
one chooses the package from a list so one can't ask for one that does
not exist.

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



[Rd] Error message library()
Gabor Grothendieck