

Relative file references in your code (for datasets, source files, etc) will become invalid when you change working directories.(Navigation within the Files pane alone will not change the working directory.)īe careful to consider the side effects of changing your working directory: From within the Files pane, use the More | Set As Working Directory menu.
This will also change directory location of the Files pane. menu ( Session | Set Working Directory on a mac). There are a number of ways to change the current working directory: You can also check your current working directory by running the command getwd() in the console. The current working directory is displayed by the RStudio IDE within the title region of the Console pane. RData is always saved, never saved, or prompted for save at exit. RData from the default working directory at startup

This default behavior can be customized in the following ways using the RStudio Options dialog: RData file in the current working directory. When RStudio exits and there are changes to the workspace, a prompt asks whether these changes should be saved to the.
