The R Project SVN R

Rev

Rev 14948 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14948 Rev 15884
Line 40... Line 40...
40
int 
40
int 
41
R_embeddedShutdown(Rboolean ask)
41
R_embeddedShutdown(Rboolean ask)
42
{
42
{
43
 
43
 
44
    R_dot_Last();
44
    R_dot_Last();
-
 
45
    R_RunExitFinalizers();
45
    CleanEd();
46
    CleanEd();
46
    KillAllDevices();
47
    KillAllDevices();
47
    num_old_gens_to_collect = NUM_OLD_GENERATIONS;
48
    num_old_gens_to_collect = NUM_OLD_GENERATIONS;
48
    R_gc();
49
    R_gc();
49
    return(1);
50
    return(1);