Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs+ESS+R: How to have help page open in new buffer

Tags:

emacs

r

ess

Currently I have set options(help_type="text") and getOption("help_type") returns "text". Not sure why but R still opens a new browser window or tab when I type ?par in the inferior ESS (iESS) buffer. If I explicitly evaluate help(par,help_type="text"), the contents of the help page is printed in the iESS buffer. I thought there was a way to have the contents open in a its own separate Emacs buffer -- was I mistaken?

like image 762
hatmatrix Avatar asked Aug 23 '11 10:08

hatmatrix


1 Answers

If (as we discovered in the comments) you set inferior-ess-help-command to "utils::help(\"%s\")\n", then the problem was resolved.

It appeared to have been caused by another inferior-ess-help-command in the configuration file.

Its always a good idea to start emacs with the -nw options if you experience weird problems like this.

like image 116
richiemorrisroe Avatar answered Oct 05 '22 22:10

richiemorrisroe