---------- Forwarded message ----------
From: *Stefano Conti*
Date: Wednesday, July 4, 2012
Subject: [SOLVED] ess-mode 12.04-4 [rev. 4896 (2012-06-07)]; .help.ESS file
missing
To: Martin Maechler <maechler@stat.math.ethz.ch>


Dear Martin,

Hope this e-mail finds you well.

I'm writing to you with reference to a problem I lodged a query about last
week to the ESS bugs list: see my original e-m,ail appended below.

It turns out that I managed to fix either problems:

(1)  commenting out the "(setq ess-use-tracebug t)" line from from my
.emacs file, de facto disabliong the ess-tracebug extension, restored
functionality of the R on-line help;

(2)  replacing in line #57 of Erik's ess-R-object-tooltip.el code

(tooltip-show-at-point bs 0 30)))))))))

with

(ess-tooltip-show-at-point bs 0 30)))))))))

restores the functionality of his code.

Wasn't sure to which ESS mailing list I could apporpriately send my
findings above to be conveyed to the ESS developers team; hence my choice
of you.  I hope this is of no inconvenience to you; my sincere apologies if
otherwise.

Thank you again for your help, all the best,

--
Dr Stefano Conti


> ----- Original Message -----
> From: Stefano Conti
> Sent: 06/27/12 05:36 PM
> To: ess-bugs@r-project.org <javascript:;>
> Subject: ess-mode 12.04-4 [rev. 4896 (2012-06-07)]; .help.ESS file missing
>
> Dear ESS developers team,
>
> Upon starting up the latest R (version 2.15.1) from within my GNU Emacs
(version 22.1.1) using your latest ESS package (version 12.04-4) I am
unable to invoke the on-line R help.
>
> For instance, if I attempt to look-up the documentation for e.g. the
'aggregate' R function (C-c C-v) I obtain the "Args out of range: 0, 0"
message from the mini-buffer, and the "Error: could not find function
".help.ESS"" message from the "help[R](aggregate)" buffer.
>
> Moreover -- and I'm not sure whether this is related at all with the
above issue -- it appears that the R-object-tooltip functionality is down:
by applying C-c C-g to again 'aggregate' I obtain from the mini-buffer a
"Symbol's function definition is void: tooltip-show-at-point." message.
>
> Hope the information above and below is helpful enough; thank you in
advance for any assistance you may provide, and sincere apologies for any
cross-posting.  Kind regards,
>
> --
> Dr Stefano Conti
>
>
> [ess-site.el]: ess-customize-alist=nil
> [ess-site.el _2_]: ess-customize-alist=nil
> (S): ess-s-versions-create making M-x defuns for
>
> (R): ess-r-versions-create making M-x defuns for
>
> (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=Work/HPA/R/TI/C.
diff./code_cdiff.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) (ess-smart-operators .
ess-R-smart-operators) (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-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 . t) (inferior-ess-primary-prompt . > )
(inferior-ess-secondary-prompt . + ) (inferior-ess-prompt .
inferior-S-prompt) (ess-get-help-topics-function quote
ess-get-S-help-topics))
> (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 ess-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=Work/HPA/R/TI/C. diff./code_cdiff.r, start-arg=nil
>  current-prefix-arg=nil
> (inferior-ess 0): ess-start-args=--no-readline
> 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=Work/HPA/R/TI/C.
diff./code_cdiff.r
> (inf-ess 1.1): procname=R temp-dialect=R, buf-name=*R*
> (inferior-ess) Method #3 start=~/Work/HPA/R/TI/C. diff./ 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 = --no-readline  ,
inf-ess-start-args=--no-readline
> (inf-ess finish [S(R), R(nil,nil)]
> (ess-multi 0):  inf-ess-start-args=--no-readline  , 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=--no-readline  , comint-echoes=t
> (ess-multi 1):  start-args=--no-readline
> Making Process...Buf *R*, :Proc R, :Prog R
>  :Args= --no-readline
> Start File=nil
> (ess-multi 2): waiting for process to start (before
hook)ess-request-a-process: {beginning}
> (ess-get-S-help-topics R) ..(get-object-list R) ..-->
(ess-get-modtime-list)
>  (ess-search-list: re-computing..) after 'search()
> ', point-max=261
> (ess-object-names obj=.GlobalEnv): no directory - trying names
> (ess-object-names obj=.GlobalEnv): no dir.; -> objects()
> (ess-object-names obj=package:survival): no directory - trying names
> (ess-object-names obj=package:survival): no dir.; -> objects()
> (ess-object-names obj=package:splines): no directory - trying names
> (ess-object-names obj=package:splines): no dir.; -> objects()
> (ess-object-names obj=package:foreign): no directory - trying names
> (ess-object-names obj=package:foreign): no dir.; -> objects()
> (ess-object-names obj=package:stats): no directory - trying names
> (ess-object-names obj=package:stats): no dir.; -> objects()
> (ess-object-names obj=package:graphics): no directory - trying names
> (ess-object-names obj=package:graphics): no dir.; -> objects()
> (ess-object-names obj=package:grDevices): no directory - trying names
> (ess-object-names obj=package:grDevices): no dir.; -> objects()
> (ess-object-names obj=package:utils): no directory - trying names
> (ess-object-names obj=package:utils): no dir.; -> objects()
> (ess-object-names obj=package:datasets): no directory - trying names
> (ess-object-names obj=package:datasets): no dir.; -> objects()
> (ess-object-names obj=package:methods): no directory - trying names
> (ess-object-names obj=package:methods): no dir.; -> objects()
> (ess-object-names obj=Autoloads): no directory - trying names
> (ess-object-names obj=Autoloads): no dir.; -> objects()
> (ess-object-names obj=package:base): no directory - trying names
> (ess-object-names obj=package:base): no dir.; -> objects()
> (ess-get-modtime-list): created new alist of length 12
>  (length alist) : 12
>  have re-read pos=1: -> length 0
> (ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil,
comint..echoes=nil, comint..sender=comint-simple-send
> (ess-help: error-buffer '*help[R](aggregate)*' nodocs (0 0)
> (ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil,
comint..echoes=nil, comint..sender=comint-simple-send
> (ess-help-bogus-buffer-p *help[R](aggregate)*) |--> t [searching t]
> (ess-help: error-buffer '*help[R](aggregate)*' nodocs (0 10)
> (ess-version-string): buffer=/home/sc536/.ess/etc/SVN-REVISION
>   (ess-version-string): c1=4896
>
>
> Emacs  : GNU Emacs 22.1.1 (i386-mandrake-linux-gnu, X toolkit, Xaw3d
scroll bars)
>  of 2008-10-27 on titan.mandriva.com, modified by Mandriva
> Package: ess-mode 12.04-4 [rev. 4896 (2012-06-07)]
>
> current state:
> ==============
> (setq
>  ess-language "S"
>  ess-dialect "R"
>  ess-ask-for-ess-directory nil
>  ess-ask-about-transfile nil
>  ess-directory nil
>  ess-keep-dump-files "always"
>  ess-source-directory "/tmp/"
>  )

	[[alternative HTML version deleted]]

