felix at nfrac.org
Thu Aug 18 14:45:07 CEST 2011
On 18 August 2011 05:34, Stephen Eglen <S.J.Eglen at damtp.cam.ac.uk> wrote:
>> 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)
> Yes, you need that hook to get eldoc working in *R* buffers.
>> And yes, the *R* was started directly from the file.R buffer but
>> ess-eldoc still does not work...
> that is odd. When you are in the file.R buffer, and that has a *R*
> process associated with it, put your point over a function, such as
> "rnorm" and then do
> M-: (ess-eldoc)
> if ess-eldoc is working, you should see the following in the minibuffer:
> "rnorm: n, mean = 0, sd = 1"
The minibuffer simply displays "nil"
Any suggestions about how start debugging this, or to report more
I even tried changing the file.R buffer coding to DOS following
Patrick's comment but it made no difference.
Felix Andrews / 安福立
More information about the ESS-help