search for: do_quit

Displaying 11 results from an estimated 11 matches for "do_quit".

2020 Nov 23
2
.Internal(quit(...)): system call failed: Cannot allocate memory
...2 0x00005555557c31d7 in Rstd_CleanUp (saveact=<optimized out>, status=0, runLast=<optimized out>) at sys-std.c:1243 #3 0x00005555557c593d in R_CleanUp (saveact=saveact at entry=SA_NOSAVE, status=status at entry=0, runLast=<optimized out>) at system.c:87 #4 0x00005555556cc85e in do_quit (call=<optimized out>, op=<optimized out>, args=0x555557813f90, rho=<optimized out>) at main.c:1393 -Bill On Mon, Nov 23, 2020 at 3:15 AM Tomas Kalibera <tomas.kalibera at gmail.com> wrote: > On 11/21/20 6:51 PM, Jan Gorecki wrote: > > Dear R-developers, > &gt...
2006 Aug 31
2
stop R mainloop without calling exit(1)
...ive R the quit command ('q()'), but then 'exit(1)' is called from the R code and the Java Virtual Machine (including my application) also shuts down. My quick solution to this problem was to modify the R source code so that the main loop ends without the need to call exit. The 'do_quit' method in main.c now returns NULL instead of calling exit(1) and 'Rf_ReplIteration' checks for a returned NULL after each eval() and breaks the main loop by returning -1. Here are the simple changes to the R source code ('+' are the lines I added, '//' are the lines I...
2020 Nov 24
2
.Internal(quit(...)): system call failed: Cannot allocate memory
...1d7 in Rstd_CleanUp (saveact=<optimized out>, status=0, runLast=<optimized out>) at sys-std.c:1243 >> #3 0x00005555557c593d in R_CleanUp (saveact=saveact at entry=SA_NOSAVE, status=status at entry=0, runLast=<optimized out>) at system.c:87 >> #4 0x00005555556cc85e in do_quit (call=<optimized out>, op=<optimized out>, args=0x555557813f90, rho=<optimized out>) at main.c:1393 >> >> -Bill >> >> On Mon, Nov 23, 2020 at 3:15 AM Tomas Kalibera <tomas.kalibera at gmail.com> wrote: >>> On 11/21/20 6:51 PM, Jan Gorecki wro...
1999 Jul 15
0
.Last is usually not called (PR#227)
...t;) returns to the shell. > .Last <- function() cat("ran .Last\n") > # I hit ^D here ran .Last Save workspace image? [y/n/c]: n The problem is that .Last is handled in end_Rmainloop(), and that is not called by q(). We need to move the handling to R_CleanUp (and for some reason do_quit is system-dependent, so need not even call R_CleanUp). I'll work on this. I did check the documentation: ?quit does claim .Last should be called: Immediately before terminating, the function `.Last()' is executed if it exists. Brian -- Brian D. Ripley, ripley...
2020 Nov 24
0
.Internal(quit(...)): system call failed: Cannot allocate memory
...555557c31d7 in Rstd_CleanUp (saveact=<optimized out>, status=0, runLast=<optimized out>) at sys-std.c:1243 > #3 0x00005555557c593d in R_CleanUp (saveact=saveact at entry=SA_NOSAVE, status=status at entry=0, runLast=<optimized out>) at system.c:87 > #4 0x00005555556cc85e in do_quit (call=<optimized out>, op=<optimized out>, args=0x555557813f90, rho=<optimized out>) at main.c:1393 > > -Bill > > On Mon, Nov 23, 2020 at 3:15 AM Tomas Kalibera <tomas.kalibera at gmail.com> wrote: >> >> On 11/21/20 6:51 PM, Jan Gorecki wrote: >&gt...
2020 Nov 25
1
[External] Re: .Internal(quit(...)): system call failed: Cannot allocate memory
...nUp (saveact=<optimized out>, status=0, runLast=<optimized out>) at sys-std.c:1243 >>>> #3 0x00005555557c593d in R_CleanUp (saveact=saveact at entry=SA_NOSAVE, status=status at entry=0, runLast=<optimized out>) at system.c:87 >>>> #4 0x00005555556cc85e in do_quit (call=<optimized out>, op=<optimized out>, args=0x555557813f90, rho=<optimized out>) at main.c:1393 >>>> >>>> -Bill >>>> >>>> On Mon, Nov 23, 2020 at 3:15 AM Tomas Kalibera <tomas.kalibera at gmail.com> wrote: >>>>&...
2020 Nov 24
0
.Internal(quit(...)): system call failed: Cannot allocate memory
...d_CleanUp (saveact=<optimized out>, status=0, runLast=<optimized out>) at sys-std.c:1243 > >> #3 0x00005555557c593d in R_CleanUp (saveact=saveact at entry=SA_NOSAVE, status=status at entry=0, runLast=<optimized out>) at system.c:87 > >> #4 0x00005555556cc85e in do_quit (call=<optimized out>, op=<optimized out>, args=0x555557813f90, rho=<optimized out>) at main.c:1393 > >> > >> -Bill > >> > >> On Mon, Nov 23, 2020 at 3:15 AM Tomas Kalibera <tomas.kalibera at gmail.com> wrote: > >>> On 11/21/20...
2020 Nov 21
4
.Internal(quit(...)): system call failed: Cannot allocate memory
Dear R-developers, Some of the more fat scripts (50+ GB mem used by R) that I am running, when they finish they do quit with q("no", status=0) Quite often it happens that there is an extra stderr output produced at the very end which looks like this: Warning message: In .Internal(quit(save, status, runLast)) : system call failed: Cannot allocate memory Is there any way to avoid this
1999 Mar 25
4
readline() (PR#147)
Dear R developers, I have found the following bug with readline() in R 0.63.3: if you execute the menu-function and then the readline() function, then readline() prompts "Selection:" > a <- readline() hello > a [1] "hallo" > a <- menu(c("a", "b"), title="bitte:") bitte: 1:a 2:b Selection: 2 > a <- readline() Selection:
2018 Apr 12
1
WGCNA package installation segmentation fault
Hi all, a user contacted me about a segfault when installing WGCNA package dowloaded from CRAN. I also see a segfault like that on certain installs of R. The package passes all CRAN checks, so presumably this has something to do with the R installation or environment. The R versions here are not the newest but I would guess that this is not an R version issue. I'm attaching two
2007 Oct 24
16
PATCH 0/10: Merge PV framebuffer & console into QEMU
The following series of 10 patches is a merge of the xenfb and xenconsoled functionality into the qemu-dm code. The general approach taken is to have qemu-dm provide two machine types - one for xen paravirt, the other for fullyvirt. For compatability the later is the default. The goals overall are to kill LibVNCServer, remove alot of code duplication and/or parallel impls of the same concepts, and