R & RStudio

Drag to rearrange sections
Rich text content

Changing RStudio's Default Settings

After (re-)installing RStudio Desktop/IDE Links to an external site., I always immediately change the following default settings:

  • "General" -> "Basic" -> disable "Restore .RData into workspace at startup" (because I want to make sure that I can always reproduce my results with the raw data and my script files -- without potentially non-reproducible objects created in a previous R session) 
  • "General" -> "Basic" -> "Save workspace to .RData on exit": choose "Never" (for the same reason as the previously mentioned change; this also has the advantage that when re-starting the R session (Ctrl+Shift+F10), one starts with a 'clean' workspace)
  • "Code" -> "Editing" -> disable "Vertically align arguments in auto-indent" (because I vertically aligning arguments can make the usable length of lines very short, particularly when one aims at a maximum width of 80 characters per line, which I think largely improves the readability of the code by humans)

 

Material from R Courses

rich_text    
Drag to rearrange sections
Rich text content
rich_text    

Page comments

Comments for this page are private. You can make comments, but only the portfolio's owner will be able to see them.

Add a new comment:

You must be logged in to make comments on this page.