[R] Restarting R without quitting R

Adaikalavan Ramasamy ramasamy at cancer.org.uk
Mon Apr 25 04:04:57 CEST 2005


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.

Regards, Adai


On Sat, 2005-04-23 at 15:26 +0100, Paul Smith wrote:
> Dear All
> 
> Is there some way of restarting R, without quitting R? In other words,
> I am looking for something like the commands reset (MuPAD) or restart
> (Maple).
> 
> Thanks in advance,
> 
> Paul
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list