[ESS] "No ESS process is associated with this buffer now"

Ross Boylan ross at biostat.ucsf.edu
Mon Nov 30 20:36:35 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Unsurprisingly, mail problems precluded sending the bug report direct
from windows.  I'm pasting it in here (and attempting a submission to
the bug system), with some addition responses to your questions at the
bottom.

Using Goulet's package on Windows XP.  I unzipped a beta ESS 5.6 over
the existing lisp directory (and some other spots as well when I
started), then unzipped the released 5.5 in the same spot.  Same
behavior either way.  The startup messages indicate I'm picking up the
expected versions.  Here's a recipe with a controlled start up
environment.

Launch command prompt for Windows.  In that prompt...
cd \Program Files\GNU Emacs\bin
emacs.exe -q

Drag the following file, t1.R, into the emacs window:
ta <- "hi there"

In emacs, type esc-x R enter
R 2.10 is the version it selects.
Start it one directory above the t1.R (to avoid saved history and data
in the t1.R directory).
R launches and shows the customary prompts.
In the t1.R buffer type c-c c-l
The display line at the bottom shows
"No ESS process is associated with this buffer now"

While composing this message I revisited t1.R; c-c c-l worked this time
and thereafter.  However, when I restarted emacs and repeated the steps
above, repeated c-c c-l simply repeated the first time error message.


[ess-site.el]: ess-customize-alist=nil
[ess-site.el _2_]: ess-customize-alist=nil
(ess-find-rterm): ess-R-root-dir = 'c:/PROGRA~1/R/'
(R): ess-r-versions-create making M-x defuns for
 c:/PROGRA~1/R/R-2.8.1/bin/Rterm.exe
 c:/PROGRA~1/R/R-2.10.0/bin/Rterm.exe
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil,
comint..echoes=nil, comint..sender=comint-simple-send
(ess-mode-1): ess-language=S, ess-dialect=R buf=occupational.R
(ess-mode-1.5): alist=((ess-local-customize-alist quote
R-customize-alist) (ess-dialect . R) (ess-suffix . R)
(ess-dump-filename-template ess-replace-regexp-in-string S$ ess-suffix
ess-dump-filename-template-proto) (ess-mode-syntax-table .
R-syntax-table) (ess-mode-editing-alist . R-editing-alist)
(ess-change-sp-regexp . ess-R-change-sp-regexp) (ess-help-sec-regex .
ess-help-R-sec-regex) (ess-help-sec-keys-alist .
ess-help-R-sec-keys-alist) (ess-loop-timeout . ess-S-loop-timeout)
(ess-cmd-delay . ess-R-cmd-delay) (ess-function-pattern .
ess-R-function-pattern) (ess-object-name-db-file . ess-r-namedb.el)
(ess-imenu-mode-function quote ess-imenu-R) (inferior-ess-program .
inferior-R-program-name) (inferior-ess-objects-command .
inferior-R-objects-command) (inferior-ess-font-lock-keywords .
inferior-ess-R-font-lock-keywords) (inferior-ess-search-list-command .
search()
) (inferior-ess-help-command . inferior-ess-r-help-command)
(inferior-ess-help-filetype) (inferior-ess-exit-command . q())
(inferior-ess-exit-prompt . Save workspace image? [y/n/c]: )
(inferior-ess-primary-prompt . \([A-Z][][A-Za-z0-9.]*\)?> )
(inferior-ess-secondary-prompt . + ?) (inferior-ess-start-file)
(inferior-ess-start-args . ) (ess-STERM . iESS) (ess-editor . R-editor)
(ess-pager . R-pager) (ess-language . S) (inferior-ess-exit-command . q()
) (inferior-ess-language-start eval inferior-S-language-start)
(comint-use-prompt-regexp-instead-of-fields . t))
(ess-mode-1.6): editing-alist=((paragraph-start concat \s-*$\|
page-delimiter) (paragraph-separate concat \s-*$\| page-delimiter)
(paragraph-ignore-fill-prefix . t) (require-final-newline . t)
(comment-start . #) (comment-add . 1) (comment-start-skip . #+ *)
(comment-column . 40) (indent-line-function quote S-indent-line)
(parse-sexp-ignore-comments . t) (ess-style . ess-default-style)
(ess-local-process-name) (ess-mode-syntax-table . S-syntax-table)
(add-log-current-defun-header-regexp . ^\(.+\)\s-+<-[
]*function) (font-lock-defaults quote (ess-R-mode-font-lock-keywords nil
nil ((46 . w) (95 . w)))))
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil,
comint..echoes=nil, comint..sender=comint-simple-send

Finished setting up ESS-mode.

(R): ess-dialect=R, buf=occupational.R, start-arg=nil
 current-prefix-arg=nil
(inferior-ess 0): ess-start-args=--ess --no-restore-history --no-save
ess-setq-vars-default 0: ess-language=Initial, -dialect=nil, buf=nil,
comint..echoes=nil, comint..sender=comint-simple-send
ess-setq-vars-default 1: ess-language=S, -dialect=R, buf=nil,
comint..echoes=nil, comint..sender=comint-simple-send
(inf-ess 1): lang=S, dialect=R, tmp-dialect=R, buf=occupational.R
(inf-ess 1.1): procname=R temp-dialect=R, buf-name=*R*
(inferior-ess) Method #3 start=p:/Ross/ buf=*R*
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil,
comint..echoes=nil, comint..sender=comint-simple-send
(inf-ess 2.1): ess-language=S, ess-dialect=R buf=*R*
(inf-ess 2.2): start args = --ess --no-restore-history --no-save  ,
inf-ess-start-args=--ess --no-restore-history --no-save
(inf-ess finish [S(R), c:/PROGRA~1/R/R-2.10.0/bin/Rterm.exe(nil,nil)]
(ess-multi 0):  inf-ess-start-args=--ess --no-restore-history --no-save
 , comint-..echoes=nil
(i-ess 1): buf=*R*, lang=S, comint..echo=nil,
comint..sender=comint-simple-send,
(i-ess 2): buf=*R*, lang=S, comint..echo=t,
comint..sender=inferior-R-input-sender,
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=t,
comint..sender=inferior-R-input-sender
(i-ess 3): curr-buf=*R*, comint..echo=t,
comint..sender=inferior-R-input-sender,
(ess-multi post inf-ess: start-args=--ess --no-restore-history --no-save
 , comint-echoes=t
(ess-multi 1):  start-args=--ess --no-restore-history --no-save
Making Process...Buf *R*, Proc R, Prog c:/PROGRA~1/R/R-2.10.0/bin/Rterm.exe
 Start File=nil, Args= --ess --no-restore-history --no-save  .
(R): inferior-ess-language-start=options(STERM='iESS',
editor='gnuclient.exe')
resetting completion to
'ess-R-complete-object-name(ess-setq-vars-LOCAL): language=S, dialect=R,
buf=nil, comint..echoes=nil, comint..sender=comint-simple-send
(ess-mode-1): ess-language=S, ess-dialect=R buf=t1.R
(ess-mode-1.5): alist=((ess-local-customize-alist quote
R-customize-alist) (ess-dialect . R) (ess-suffix . R)
(ess-dump-filename-template ess-replace-regexp-in-string S$ ess-suffix
ess-dump-filename-template-proto) (ess-mode-syntax-table .
R-syntax-table) (ess-mode-editing-alist . R-editing-alist)
(ess-change-sp-regexp . ess-R-change-sp-regexp) (ess-help-sec-regex .
ess-help-R-sec-regex) (ess-help-sec-keys-alist .
ess-help-R-sec-keys-alist) (ess-loop-timeout . ess-S-loop-timeout)
(ess-cmd-delay . ess-R-cmd-delay) (ess-function-pattern .
ess-R-function-pattern) (ess-object-name-db-file . ess-r-namedb.el)
(ess-imenu-mode-function quote ess-imenu-R) (inferior-ess-program .
inferior-R-program-name) (inferior-ess-objects-command .
inferior-R-objects-command) (inferior-ess-font-lock-keywords .
inferior-ess-R-font-lock-keywords) (inferior-ess-search-list-command .
search()
) (inferior-ess-help-command . inferior-ess-r-help-command)
(inferior-ess-help-filetype) (inferior-ess-exit-command . q())
(inferior-ess-exit-prompt . Save workspace image? [y/n/c]: )
(inferior-ess-primary-prompt . \([A-Z][][A-Za-z0-9.]*\)?> )
(inferior-ess-secondary-prompt . + ?) (inferior-ess-start-file)
(inferior-ess-start-args . ) (ess-STERM . iESS) (ess-editor . R-editor)
(ess-pager . R-pager) (ess-language . S) (inferior-ess-exit-command . q()
) (inferior-ess-language-start eval inferior-S-language-start)
(comint-use-prompt-regexp-instead-of-fields . t))
(ess-mode-1.6): editing-alist=((paragraph-start concat \s-*$\|
page-delimiter) (paragraph-separate concat \s-*$\| page-delimiter)
(paragraph-ignore-fill-prefix . t) (require-final-newline . t)
(comment-start . #) (comment-add . 1) (comment-start-skip . #+ *)
(comment-column . 40) (indent-line-function quote S-indent-line)
(parse-sexp-ignore-comments . t) (ess-style . ess-default-style)
(ess-local-process-name) (ess-mode-syntax-table . S-syntax-table)
(add-log-current-defun-header-regexp . ^\(.+\)\s-+<-[
]*function) (font-lock-defaults quote (ess-R-mode-font-lock-keywords nil
nil ((46 . w) (95 . w)))))
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil,
comint..echoes=nil, comint..sender=comint-simple-send

Finished setting up ESS-mode.
ess-request-a-process: {beginning}


Emacs  : GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-29 on SOFT-MJASON
Package: ess-mode 5.5

current state:
==============
(setq
 ess-language "S"
 ess-dialect "R"
 ess-ask-for-ess-directory t
 ess-ask-about-transfile nil
 ess-directory nil
 ess-keep-dump-files "always"
 ess-source-directory "C:\\DOCUME~1\\ross\\LOCALS~1\\Temp"
 )


Martin Maechler wrote:
> Hi Ross,
> 
>>>>>> "RossB" == Ross Boylan <ross at biostat.ucsf.edu>
>>>>>>     on Mon, 30 Nov 2009 07:50:58 -0800 writes:
> 
>     RossB> Using the development version of ESS 5.6 from Nov 2, I get the error in
>     RossB> the subject when I try to c-c c-l an R file.  This happens whether are
>     RossB> start the R process before or after editing the R file.
> 
>  *any*  R file  ????
All of of the handful I've tried.
> 
> I am *always* working with the development version of ESS,
> and I haven't seen this at least not consciously
> (certain problems I see, I solve so quickly with a few key
>  strokes that I tend to even forget the problems ...)
> 
>     RossB> Calling switch process in the .R buffer corrects the
>     RossB> problem.  Is there a better way?  My recollection is
>     RossB> that in previous versions things just worked.
> 
> Could you try?  I'd be really glad if you could check if your
> problem does (not) happen when using ESS 5.5.
Same problem with 5.5.
> 
> We'd be glad for a more detailled (bug) report, with exact key
> strokes etc...
> The last entry in both ESS (Emacs) menues is called  
> "Send bug report".
> Please use that even if it's only for the development version of
> ESS and not the released one.
See above.  The problem does not seem specific to the development version.
> 
> as said, I'm *only* working with "ESS devel" and I'm working
> with R everyday and haven't seen your problem.
> 
> Martin 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksUHsIACgkQTEwcvZWfjMjXVwCfcKBTQdKVG/W88a9zGRHGFyP/
Is4An1TT0uXmJvI7MSkpuT9KX7Srtgk9
=4v5g
-----END PGP SIGNATURE-----



More information about the ESS-help mailing list