Reputation: 13792
Is there a keyboard shortcut that splits the RStudio window in half with the source on the left and console on right (and hides all other panes) as per screenshot below?
Upvotes: 12
Views: 2424
Reputation: 4949
There is no shortcut that will arrange the panels properly. However, you can save their layout! Whenever you need it, you can load any panel layout. The layout of the panels is saved in the rstudio-prefs.json file which is located (in the case of Windows) in C:\Users\UserName\ AppData\Roaming\RStudio where, of course, UserName is the name of the current user. You only need to save this file once when RStudio has your favorite panel layout and then you copy it where you want to quickly recall it.
I checked it and it works for me without any problems. Unfortunately, changing the layout of the panels will only work after restarting RStudio.
Upvotes: 2
Reputation: 1651
The following might do the trick:
Set up your own shortcut for Maximize Console
Ctrl C M
for Console MaximizeKeep left side for Source ONLY (if you think that it OK).
Command ,
)The History panel that you had to deselct from the Source side you can add to the lower-right panel; and then open it using control 4
. And you can do the same for the Help panel, which you open using Control 3
Upvotes: 7