[ESS] how to change default emacs behavior, upon running R code, from 2 side-by-by side frames to top-and-bottom frames?
I'm running, on Windows 10, Vince Goulet's version of emacs/ess, which includes GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)  of 2019-08-29 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? Thanks. --Chris Ryan __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help
Re: [ESS] how to change default emacs behavior, upon running R code, from 2 side-by-by side frames to top-and-bottom frames?
Hello, > 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. This section of the documentation might address your issue. You can execute the command below for quick access. (info "(ess) Controlling buffer display") HTH, Jeremie __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help
Re: [ESS] how to change default emacs behavior, upon running R code, from 2 side-by-by side frames to top-and-bottom frames?
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
Re: [ESS] how to change default emacs behavior, upon running R code, from 2 side-by-by side frames to top-and-bottom frames?
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 > 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