When I press C-c' in an R code block to open an edit buffer with ess, on my computer, it splits the screen into two side-by-side windows, with the new window on the right showing the edit buffer, and the window on the left showing the original file.

I would like to change this behaviour in two ways.

1. I would like the window that continues to show the original file to instead show the R session in which lines from the edit buffer can be evaluated. I can manually change the buffer in this window to show me the R session but I was wondering if this can be the default behaviour.

2. Split the screen horizontally rather than vertically, so that the new window (with edit buffer) is on the top and the second window is below. I could live with the edit buffer being at the bottom also but would certainly prefer seeing it above so that I have the R session in the window below to which I send the evaluated lines one by one.

Does anyone know if it may already be possible to achieve this? Or am I making a feature request?

Vikas