title: How to set back RStudio to global default working directory?
body: <p>In the General R Options of RStudio, in the option <code>Default working directory (when not in a project):</code>, previous to set for the first time a specific directory appears this symbol <code>~</code> that means No directory or Global default working directory, like here: <a href="https://i.stack.imgur.com/SEyoW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SEyoW.png" alt="enter image description here"></a></p>
  
  <p>My problem is that I set the directory to <em>My documents</em> folder, and I can't set it back to <code>~</code> because the <code>Browse</code>button doesn't allow it.  Do you know how can I set it back to <code>~</code>?</p>
  
  <p>I would like to do that because in my new scripts I'm changing always this directory to other paths with the <code>setwd()</code> function. But when I close RStudio all the objects from my workspace are saved in this new directory set with <code>setwd()</code>, then I have to save manually every time my workspace to <em>My documents</em> directory. Therefore, I prefer to change it to Global default working directory <code>~</code>, and I can't find how to do this. </p>
  
  <p>Thanks in advance</p>