Re: [R] Unload a library

From: Prof Brian Ripley <>
Date: Sat 20 Aug 2005 - 03:05:41 EST

On Fri, 19 Aug 2005, Uwe Ligges wrote:

> Talita Perciano Costa Leite wrote:
>> Hi people,
>> I'm developing an application (in Linux) using tcltk and calling ggobi
>> from that application (using the Rggobi package). After I load ggobi
>> and want to use the windows made by tcltk I get some errors and
>> sometimes R cracks. I believe the problem is because the packages
>> Rggobi, RGtk and tcltk are running together. I thought about a solution
>> that would be unload the Rggobi and RGtk packages after I use them. Do
>> you know how I do that? And if someone has another solution for that
>> problem please help me.
> See ?detach

In principle, yes. However, as all these applications make use of the event loop hooks, please check that they do undo their effects. I don't see any signs of that in either Rggobi or RGtk (they would need a .Last.lib to do it): but I could have overlooked something.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Sat Aug 20 03:10:29 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:34:44 EST