Hi,

FWIW, I had the same issue at some point in the past, and I have the following 
in my .emacs to change the behavior:

(add-to-list 'display-buffer-alist '("*R" (display-buffer-reuse-window 
display-buffer-at-bottom)
 (window-width . 0.5) (reusable-frames . nil)))

That was provided here on the list some time ago, and perhaps there is a more 
recent incantation, if things have changed since then.

Regards,

Marc Schwartz


> On Nov 10, 2020, at 8:37 AM, Tyler Smith via ESS-help 
> <ess-help@r-project.org> wrote:
> 
> Christopher W. Ryan via ESS-help writes:
> 
>> When I execute a line of R code, the R buffer opens up as expected, but
>> it opens in a frame adjacent to the frame containing my source buffer. I
>> would like it to open the R buffer as a frame below my source code,
>> rather than adjacent to it.Â
>> 
>> How can I change the behavior from side-side frames to top-bottom frames?
> 
> In base Emacs, this is controlled by the variables `split-height-threshold` 
> and `split-width-threshold`. Setting split-height-threshold to a lower value 
> (default is 80), and the width threshold to a higher value, will prioritize 
> splitting top/bottom over right/left.
> 
> The info node for this is: (emacs) Window Choice
> 
> Best,
> 
> Tyler
> 
> -- 
> Tyler Smith
> plantarum.ca
> 
> ______________________________________________
> ESS-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help

______________________________________________
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Reply via email to