Emacs+ESS+R: How to have help page open in new buffer
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 Emac开发者_运维百科s buffer -- was I mistaken? 
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.
In your .emacs file, include one of these two statements.
The first should open each ?foo request in it's own frame/buffer
;;;;; create a new frame for each help instance
(setq ess-help-own-frame t)
This second version has a single buffer for all help pages you call up
;;;;; If you want all help buffers to go into one frame do
(setq ess-help-own-frame 'one)
 
         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论