[ESS] help("foo") opens web browser but ?foo doesn't

Marc Schwartz marc_schwartz at me.com
Wed Mar 13 13:13:16 CET 2013


On Mar 13, 2013, at 6:49 AM, Henrik Singmann <henrik.singmann at psychologie.uni-freiburg.de> wrote:

> Hi all,
> 
> I know that similar questions have come up from time to time, but the solutions didn't fit my problem.
> 
> I want ESS to display help pages always in the web browser and managed to do so partly thanks to SO (http://stackoverflow.com/q/2413163/289572) via
> '(inferior-ess-r-help-command ".help.ESS(\"%s\", help_type=\"html\")")
> in my custom variables in my .emacs
> 
> However, the browser only opens for help("foo") but not ?foo.
> 
> Any thoughts on how to open help in browser also for ?foo (or better always)?
> 
> Many thanks,
> Henrik


Different incantation in .emacs:

(setq inferior-ess-r-help-command "help(\"%s\", help_type=\"html\")\n")

which works in both cases.

This is on OSX 10.8.2 (Mountain Lion), ESS 12.09-2, R 2.15.3 and Emacs 24.3. Albeit, I have had the same entry in .emacs for some years over numerous versions of R, Emacs, ESS and even OS's (Fedora Linux and OSX).

Regards,

Marc Schwartz



More information about the ESS-help mailing list