From renaud at mancala.cbio.uct.ac.za  Fri Oct 28 12:49:43 2011
From: renaud at mancala.cbio.uct.ac.za (Renaud Gaujoux)
Date: Fri, 28 Oct 2011 12:49:43 +0200
Subject: [Rd] Error message library()
Message-ID: <4EAA88C7.3080302@cbio.uct.ac.za>

"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.

Renaud

-- 
Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa



[Rd] Error message library()
Renaud Gaujoux