[ESS] ess-r-args-show

Felix Andrews felix at nfrac.org
Wed Aug 17 16:09:18 CEST 2011


I also can not get ess-eldoc to work in a file.R buffer, even though
emacs tells me that it is active as a minor mode. Strangely enough
ess-eldoc does work in the *R* buffer since I added this to my .emacs:
(add-hook 'inferior-ess-mode-hook 'ess-use-eldoc)

And yes, the *R* was started directly from the file.R buffer but
ess-eldoc still does not work...

R version 2.13.1 (2011-07-08)
Platform: i686-pc-linux-gnu (32-bit)  [Ubuntu 11.04]

ess 5.14-1natty0

GNU Emacs 23.2.1 (23.2+1-7ubuntu2)


Cheers
Felix


On 17 August 2011 19:56, Patrick Connolly <p_connolly at slingshot.co.nz> wrote:
> On Tue, 16-Aug-2011 at 02:25PM -0700, Michael Hannon wrote:
>
> |> Hi, Patrick.  You may have already mentioned this, but I wonder
> |> what versions of Emacs and ESS you're using.  I'm running Emacs
> |> 23.2-19 on a Fedora 15 (linux) system and ESS 5.11.  My system does
> |> have ess-eldoc:
>
> Mine's the same on one machine; Kubuntu and CentOS on two other
> machines (the latter with rather older Emacs version).
>
>
> |>     $ locate ess-eldoc
> |>     /usr/share/emacs/site-lisp/ess/ess-eldoc.elc
>
> Mine's different.  I have ESS installed in the /home directory.
>
> |>
> |>
> |> Can you check to see if you have a similar file on your system?
>
> There is.  In my /home/ directory.
>
>
> |>
> |>
> |> I have the following in my .emacs file:
> |>
> |>     (require 'ess-eldoc)
> |>
> |> with NO prior path information specified in the file, and I do get a pop-up list of function arguments when I start to type a function, as:
> |>
> |>     x <- rnorm(
> |>
>
> |> In my case this works in the source-code buffer (foo.R) but NOT in
> |> the R buffer itself (*R*).
>
> I got that to work at one stage, but I thought it was meant to work in
> the *R* buffer also.  With all my subsequent tinkering, I can't get
> that to work again.  I can't even replicate the problem about the
> missing ess-eldoc.  I'll have to go through very carefully to work out
> what I could possibly have screwed up. (Spent an hour on it already
> and can't find it).
>
> Thanks for the suggestions.
>
>
>
>
>
> |> -- Mike
> |>
> |>
> |>
> |>
> |>
> |> >________________________________
> |> >From: Patrick Connolly <p_connolly at slingshot.co.nz>
> |> >To: Stephen Eglen <S.J.Eglen at damtp.cam.ac.uk>
> |> >Cc: Michael Hannon <jm_hannon at yahoo.com>; ESS-help <ess-help at stat.math.ethz.ch>
> |> >Sent: Tuesday, August 16, 2011 12:56 PM
> |> >Subject: Re: [ESS] ess-r-args-show
> |> >
> |> >On Tue, 16-Aug-2011 at 11:40AM +0100, Stephen Eglen wrote:
> |> >
> |> >|>
> |> >|> > File error: Cannot open load file, ess-eldoc
> |> >|> did you put the (require 'ess-eldoc) line after adding ess-lisp to your
> |> >|> load-path?
> |> >
> |> >If you mean this line,
> |> >(load "$ESSHOME/lisp/ess-site")
> |> >
> |> >then yes.
> |> >
> |> >
> |> >--
> |> >~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
> |> >   ___    Patrick Connolly
> |> >{~._.~}                   Great minds discuss ideas
> |> >_( Y )_               Average minds discuss events
> |> >(:_~*~_:)                  Small minds discuss people
> |> >(_)-(_)                            ..... Eleanor Roosevelt
> |> >
> |> >~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
> |> >
> |> >
> |> >
>
> --
> ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
>   ___    Patrick Connolly
>  {~._.~}                   Great minds discuss ideas
>  _( Y )_                 Average minds discuss events
> (:_~*~_:)                  Small minds discuss people
>  (_)-(_)                              ..... Eleanor Roosevelt
>
> ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
>
> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>



-- 
Felix Andrews / 安福立
http://www.neurofractal.org/felix/



More information about the ESS-help mailing list