Re: Jobs left uncompleted
Vincent Goulet via ESS-help <[email protected]> Wed, 21 May 2025 11:33:02 -0400
| Newsgroups | gmane.emacs.ess.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Johannes,
> Le 19 mai 2025 =C3=A0 03:43, H=C3=BCsing, Johannes via ESS-help <ess-help=
@r-project.org> a =C3=A9crit :
> =
> 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=3Delement_text(family =3D "Calibri", size =3D 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 display=
s 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 i=
s at the 'library' expression? Because this could mean that R is waiting fo=
r some other process to complete. I don't know what it would be for 'librar=
y', but this sounds similar to running 'install.packages' and waiting forev=
er for the mirror selection widget to appear.
v.
> Greetings
> =
> Johannes
> =
> =
> =
> Dr. Johannes H=C3=BCsing
> Epidemiologie
> =
> =
> Landeskrebsregister NRW gGmbH
> Gesundheitscampus 10
> 44801 Bochum
> T 0234 54509-216
> F 0234 54509-499
> [email protected]
> www.landeskrebsregister.nrw.de
> =
> =
> Newsletter LKR NRW jetzt anmelden unter Newsletter <www.landeskrebsregist=
er.nrw/aktuelles/newsletter>
> Gesch=C3=A4ftsf=C3=BChrer
> Dr. Andres Sch=C3=BCtzend=C3=BCbel
> Vorsitzender der Gesellschafterversammlung
> Staatssekret=C3=A4r Matthias Heidmeier
> Sitz der Gesellschaft
> Bochum
> Registergericht
> Amtsgericht Bochum
> HRB 17715
> =
> HINWEIS: Diese Nachricht ist nur f=C3=BCr den Adressaten bestimmt. Es ist=
nicht erlaubt, diese Nachricht zu kopieren oder Dritten zug=C3=A4nglich zu=
machen. Sollten Sie irrt=C3=BCmlich diese Nachricht erhalten haben, bitte =
ich um Ihre Mitteilung per E-Mail oder unter der oben angegebenen Telefonnu=
mmer.
> =
> =
> -----Urspr=C3=BCngliche Nachricht-----
> Von: Vincent Goulet <[email protected]>
> Gesendet: Freitag, 16. Mai 2025 18:34
> An: H=C3=BCsing, Johannes <[email protected]>
> Cc: [email protected]
> 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
> =C3=89cole d'actuariat, Universit=C3=A9 Laval
> =
>> Le 14 mai 2025 =C3=A0 05:44, H=C3=BCsing, Johannes via ESS-help <ess-hel=
[email protected]> a =C3=A9crit :
>> =
>> Hi all,
>> More often than not, when I start a job, the buffer in Emacs would not c=
omplete the job and return to the REPL. In most cases, the Task Manager (ye=
s, 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 procee=
d 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 make=
s me consider using Rstudio.
>> =
>> It happens most often when I hit C-c C-c (bound to ess-eval-region-or-fu=
nction-or-paragraph-and-step), slightly less often when I copy some code in=
to 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 adequat=
e 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
>> [email protected]<mailto:Johannes.Huesing@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 nic=
ht erlaubt, diese Nachricht zu kopieren oder Dritten zug nglich zu machen. =
Sollten Sie irrt mlich diese Nachricht erhalten haben, bitte ich um Ihre Mi=
tteilung per E-Mail oder unter der oben angegebenen Telefonnummer.
>> =
>> [[alternative HTML version deleted]]
>> =
>> ______________________________________________
>> [email protected] mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
> =
> =
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help