Our community is getting a makeover! We will be migrating to a new community that integrates more closely with our support and knowledge base tools, as well as the core Domino product, to give you a more unified experience. Existing community articles have been added to our knowledge base, which you can preview here with your community credentials: https://tickets.dominodatalab.com/hc/en-us/community/topics Watch this space for further updates and send any feedback to [email protected] with subject "Community Feedback".

Persisting RStudio Keyboard Shortcut Modifications

petter.olsson
petter.olsson Member, Moderator, Domino Posts: 78 mod
edited August 2019 in Tutorials & Best Practices

Hi,

If you would like to persist your keyboard shortcuts across different sessions in RStudio you can so like this. You will find the file /home/ubuntu/.R/rstudio/keybindings/rstudio_bindings.json where you can see the modifications that have been done. You will notice that this file and it's associated directory do not show until you do your first modification. In my dummy example I modified the opening of a file from Cmd-O to Cmd-P which looks like this:

 {"openSourceDoc" : "Cmd+P"}

You can write this file in your docker environment or, alternatively, in a pre-run script. You can find more details around this in the following support article https://support.dominodatalab.com/hc/en-us/articles/115000551503-Persisting-RStudio-preferences

Have a powerful day,

Petter

Tagged:
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!