[ESS] Emacs hangs when starting R via <alt>-x R

Kjetil brinchmann Halvorsen kjet||1001 @end|ng |rom gm@||@com
Fri Feb 8 01:04:43 CET 2019


Hello!

Finally trying again. Running R from ess in the usual way, but after M-x
toggle-debug-on-error, hangs, but seems to work after C-g. Content of
buffer *Backtrace*:  Debugger entered--Lisp error: (void-variable
ess-noweb-mode)      Content of buffer *ESS*:

(R): ess-dialect=R, buf=debiasing_logistic.R, start-arg=nil
 current-prefix-arg=nil
(inf-ess 1): lang=S, dialect=R, tmp-dialect=R, buf=debiasing_logistic.R
(inf-ess 1.1): procname=R temp-dialect=R, buf-name=*R*
(inf-ess 2.0) Method #3 start=/home/kjetil/proyectos/R_ejemplo_knitr buf=*R*
(inf-ess 2.1): ess-language=S, ess-dialect=R buf=*R*
(inferior-ess: waiting for process to start (before hook)

(Also, when trying to quit with C-c-q it hangs, but unhangs then with C-g)

Trying again, but now with --vanilla and  M-x toggle-debug-on-error : Now
it works without problems!

And, yes, I did change my prompts. Here is the content of my .Rprofile file:

options(browser="iceweasel")
options(continue="  ")
options(prompt="  ")
options(defaultPackages=c(getOption("defaultPackages"), "MASS"))
local({r <-
          getOption("repos"); r["CRAN"] <- "http://cran.uib.no/";
          options(repos = r);
          if (interactive()) fortunes::fortune()
})

The ess version can be seen from
source('/home/kjetil/.emacs.d/elpa/ess-20190107.2249/etc/ESSR/R/.load.R',
local=TRUE)
emacs version is This is GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu,
GTK+ Version 3.22.8)
 of 2017-02-28

Kjetil



On Wed, Jan 30, 2019 at 12:11 PM Vitalie Spinu <spinuvit using gmail.com> wrote:

>
> Do you customize your R prompt by any chance? Can you start without your
> ESS
> customization?
>
> If you do M-x toggle-debug-on-error and start R, what do you see on C-g?
>
>
>  Vitalie
>
> >> On Mon, Jan 28 2019 12:10, Kjetil brinchmann Halvorsen via ESS-help
> wrote:
>
> > I have no way to know if this is a debian, emacs or ess problem. But I
> can
> > use R otherwise than via emacs and ess.
>
> > I open a buffer with a file "something.R". In the status line I have
> >    U:---         (...)  (ESS[R] [none] hl-p ElDoc)
>
> > When starting an R process with <alt-x> R
> > a new frame opens, R starts (I see the welcome message) and then emacs
> > hangs.
>
> > This have been the state now for at least a week.  I am running Debian
> > testing updated.
>
> > Any ideas?  (And would this rather belong on r-debian list?)
>
> > Kjetil
>
> >       [[alternative HTML version deleted]]
>
> > ______________________________________________
> > ESS-help using r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/ess-help
>

	[[alternative HTML version deleted]]



More information about the ESS-help mailing list