[Rd] Error message library()

David Winsemius dwinsemius at comcast.net
Fri Oct 28 22:20:53 CEST 2011


On Oct 28, 2011, at 12:02 PM, Gabor Grothendieck wrote:

> 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.
>
On a Mac with R.app the same facility exists which I how I check to  
see if a package is available in one of four forms (mac-binary, mac- 
source, Bioc-binary, Bioc-source).

--
David Winsemius, MD
West Hartford, CT



More information about the R-devel mailing list