[ESS] R-devel crashes when can't find function

Toby Hocking tdhock5 @end|ng |rom gm@||@com
Wed Feb 5 11:22:34 CET 2025


Hi, I'm not sure if this is a bug in R-devel or ESS, but I'm reporting here
first.

When I type foo() at the commend line, I expect R to give me an error
message such as "function foo() not found" and that is what I get using the
command line:
(base) tdhock using tdhock-MacBook:~/R/R-devel$ ~/R/R-devel/bin/R --no-save -e
"foo()"

R Under development (unstable) (2025-02-02 r87676) -- "Unsuffered
Consequences"
Copyright (C) 2025 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu

R est un logiciel libre livré sans AUCUNE GARANTIE.
Vous pouvez le redistribuer sous certaines conditions.
Tapez 'license()' ou 'licence()' pour plus de détails.

R est un projet collaboratif avec de nombreux contributeurs.
Tapez 'contributors()' pour plus d'information et
'citation()' pour la façon de le citer dans les publications.

Tapez 'demo()' pour des démonstrations, 'help()' pour l'aide
en ligne ou 'help.start()' pour obtenir l'aide au format HTML.
Tapez 'q()' pour quitter R.

Le chargement a nécessité le package : grDevices
> foo()
Erreur dans foo() : impossible de trouver la fonction "foo"
Exécution arrêtée

But when I do the same thing inside ESS, R crashes.
Below I did C-u M-x R -d valgrind RET to start R with valgrind inside ESS,
then I typed foo() RET in the *R* buffer, which crashed. Can anybody
reproduce?

Can somebody help me reproduce this on the command line? (outside of ESS)
so I can report this to R-devel?

Thanks
Toby

	[[alternative HTML version deleted]]



More information about the ESS-help mailing list