From simon.urbanek at r-project.org  Fri Oct 28 17:14:24 2011
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Fri, 28 Oct 2011 11:14:24 -0400
Subject: [Rd] Error message library()
In-Reply-To: <4EAA88C7.3080302@cbio.uct.ac.za>
References: <4EAA88C7.3080302@cbio.uct.ac.za>
Message-ID: <BE5A340C-6469-49B4-88E7-A59EC110A558@r-project.org>


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 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)
> 

Oh, well, the fact that it's off by default defeats the purpose, since the users that would benefit from it most are unlikely to mess with local configuration files...
But thanks for finding it!
Simon



> It simply worked on my Ubuntu box -- and directly went in my .Rprofile :)
> Hope this helps.
> 
> Renaud
> 
> -- 
> Renaud Gaujoux
> Computational Biology - University of Cape Town
> South Africa
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
> 



[Rd] Error message library()
Simon Urbanek