[ESS] Jobs left uncompleted
Vincent Goulet
v|ncent@gou|et @end|ng |rom m@c@com
Wed May 21 17:33:02 CEST 2025
Hi Johannes,
> Le 19 mai 2025 à 03:43, Hüsing, Johannes via ESS-help <ess-help using r-project.org> a écrit :
>
> Dear Vincent,
> first of all, many thanks for enabling many people who use Windows very, very much to use R and Emacs with Windows.
>
> Here's an attempt at a minimal reproducible example.
>
> Find a file in Emacs titled freeze.R and fill it with the following lines:
>
> ## library(kableExtra)
> ## library(lme4)
> library(ggplot2)
>
> calibri <- function(size) {
> theme(text=element_text(family = "Calibri", size = size))
> }
>
> Type M-x run-ess-r-newest <RET>
For me the albeit simpler M-x R-newest did the trick.
> Choose the directory ESS suggests as a starting directory by typing <RET>
>
> Place point in the first line of the buffer freeze.R
>
> Type C-c C-c
>
> Point should now be in line 5
>
> Type C-c C-c again
>
> Buffer with R process does not accept inputs anymore, status line displays backslash, then slash, then dash, repeat.
Unfortunately (for you), this works as expected here.
Are you sure the hang does not occur when executing the first block, that is at the 'library' expression? Because this could mean that R is waiting for some other process to complete. I don't know what it would be for 'library', but this sounds similar to running 'install.packages' and waiting forever for the mirror selection widget to appear.
v.
> Greetings
>
> Johannes
>
>
>
> Dr. Johannes Hüsing
> Epidemiologie
>
>
> Landeskrebsregister NRW gGmbH
> Gesundheitscampus 10
> 44801 Bochum
> T 0234 54509-216
> F 0234 54509-499
> Johannes.Huesing using krebsregister.nrw.de
> www.landeskrebsregister.nrw.de
>
>
> Newsletter LKR NRW jetzt anmelden unter Newsletter <www.landeskrebsregister.nrw/aktuelles/newsletter>
> Geschäftsführer
> Dr. Andres Schützendübel
> Vorsitzender der Gesellschafterversammlung
> Staatssekretär Matthias Heidmeier
> Sitz der Gesellschaft
> Bochum
> Registergericht
> Amtsgericht Bochum
> HRB 17715
>
> HINWEIS: Diese Nachricht ist nur für den Adressaten bestimmt. Es ist nicht erlaubt, diese Nachricht zu kopieren oder Dritten zugänglich zu machen. Sollten Sie irrtümlich diese Nachricht erhalten haben, bitte ich um Ihre Mitteilung per E-Mail oder unter der oben angegebenen Telefonnummer.
>
>
> -----Ursprüngliche Nachricht-----
> Von: Vincent Goulet <vincent.goulet using mac.com>
> Gesendet: Freitag, 16. Mai 2025 18:34
> An: Hüsing, Johannes <Johannes.Huesing using krebsregister.nrw.de>
> Cc: ess-help using r-project.org
> Betreff: Re: [ESS] Jobs left uncompleted
>
> Hi Johannes,
>
> Do you have some sort of reproducible example? I've never witnessed what you mentioned, but then I don't use Windows much (read: very, very little). You're certain that the issue is with Emacs/ESS, and not with R itself?
>
> Best,
>
> v.
>
> Vincent Goulet
> École d'actuariat, Université Laval
>
>> Le 14 mai 2025 à 05:44, Hüsing, Johannes via ESS-help <ess-help using r-project.org> a écrit :
>>
>> Hi all,
>> More often than not, when I start a job, the buffer in Emacs would not complete the job and return to the REPL. In most cases, the Task Manager (yes, I use Vincent's fine Emacs bundle for Windows) will show the process as running but with minimal load for CPU and RAM usage. The only way to proceed is then to kill the process from Task Manager and start a new R session. Iti is starting to leave a dent in my productivity, to the extent that makes me consider using Rstudio.
>>
>> It happens most often when I hit C-c C-c (bound to ess-eval-region-or-function-or-paragraph-and-step), slightly less often when I copy some code into the REPL and hit RET (bound to what RET is normally bound to) and least often when I insert the code into an Rmd file and run rmarkdown::render.
>>
>> Does anyone have experienced something similar? What would be an adequate way to tackle the problem?
>>
>> Best
>>
>> Johannes
>>
>> Dr. Johannes H sing
>> Epidemiologie
>>
>> Landeskrebsregister NRW gGmbH
>> Gesundheitscampus 10
>> 44801 Bochum
>>
>>
>>
>> T 0234 54509-216
>> F 0234 54509-499
>> Johannes.Huesing using krebsregister.nrw.de<mailto:Johannes.Huesing using krebsreg
>> ister.nrw.de>
>> www.landeskrebsregister.nrw<http://www.landeskrebsregister.nrw>
>>
>> Das Landeskrebsregister NRW online
>> FACEBOOK: https://www.facebook.com/LKRNordrheinWestfalen/
>> INSTAGRAM: https://www.instagram.com/landeskrebsregister_nrw
>> LINKEDIN: https://www.linkedin.com/company/87452209/admin/feed/posts/
>>
>> Newsletter LKR NRW - jetzt anmelden unter
>> https://www.landeskrebsregister.nrw/aktuelles/newsletter
>>
>>
>>
>>
>> Gesch ftsf hrer
>> Dr. Andres Sch tzend bel
>> Vorsitzender der Gesellschafterversammlung Staatssekret r Matthias
>> Heidmeier Sitz der Gesellschaft Bochum Registergericht Amtsgericht
>> Bochum HRB 17715
>>
>> HINWEIS: Diese Nachricht ist nur f r den Adressaten bestimmt. Es ist nicht erlaubt, diese Nachricht zu kopieren oder Dritten zug nglich zu machen. Sollten Sie irrt mlich diese Nachricht erhalten haben, bitte ich um Ihre Mitteilung per E-Mail oder unter der oben angegebenen Telefonnummer.
>>
>> [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> ESS-help using r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
>
>
> ______________________________________________
> ESS-help using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
More information about the ESS-help
mailing list