R-devel crashes when can't find function

Toby Hocking via ESS-help <[email protected]> Wed, 5 Feb 2025 11:22:34 +0100
Newsgroups gmane.emacs.ess.general
Message-ID <CALK03d1paFCwTjUxPtb8z6H1qQLLR5XfgozstF8OvAHTXbAq7A@mail.gmail.com>
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@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=C3=A9 sans AUCUNE GARANTIE.
Vous pouvez le redistribuer sous certaines conditions.
Tapez 'license()' ou 'licence()' pour plus de d=C3=A9tails.

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

Tapez 'demo()' pour des d=C3=A9monstrations, '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=C3=A9cessit=C3=A9 le package : grDevices
> foo()
Erreur dans foo() : impossible de trouver la fonction "foo"
Ex=C3=A9cution arr=C3=AAt=C3=A9e

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]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help