I'm desperately trying to have as default a 3 columns layout in RStudio and can't manage to obtain it.
I tried to find some documentation, but found nothing with some details or explanation on the "panes" parameters of the rstudio-prefs.json file.
In "C:\Users...\AppData\Roaming\RStudio\rstudio-prefs.json", I saw that it is possible to add a source column using "additional_source_columns": 1 but it is automatically set back to 0 every time I restart R and the problem is that it creates an untitled script in addition to the one I'm opening.
Here are the steps I have to perform to obtain the final layout I'm looking for.
Open a script by double clicking on it
Press CTRL + F7 to add a source column
Drag and drop my script to the left column
remove the 'untitled' script
Thank you for your help ! A link to any documentation that you may know of that I didn't find would be life-saving.
Best
As of today, you can't have a 3 column setup as the default. It's an open Issue on GitHub, marked as an enhancement and added to the "Later" milestone with no due date.
However, with version 2022.02.0+443
(February 2022) of RStudio you can do the following:
I would add the "Open file in new column" as a keyboard shortcut, for example CTRL + O
. Your workflow would then be:
CTRL + O
to open your first scriptIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With