Message-ID: <1114415370.19858.10.camel@dhcp-63.ccc.ox.ac.uk>
Date: 2005-04-25T07:49:30Z
From: Adaikalavan Ramasamy
Subject: Restarting R without quitting R
In-Reply-To: <426C88C4.2070608@stats.uwo.ca>
Thank you for enlightenment.
Apologies, I meant to say gc() may memory to the operating system as
documented by the Details section of help(gc).
Regards, Adai
On Mon, 2005-04-25 at 07:05 +0100, Duncan Murdoch wrote:
> Adaikalavan Ramasamy wrote:
> > You could try
> >
> > rm( list=ls() ) # to remove all objects in a session
> > gc() # may return from R to operating system
> >
> > but sometimes I find it just easier to kill and start a new R session.
>
> There are other things that are different in a restart:
>
> It sets the search list to a default.
>
> It executes startup code from various places.
>
> BTW, I'm not sure what you mean when you say that gc() "may return from
> R to operating system".
>
> Duncan Murdoch
>
>