Set the Rstudio files pane directory from the R console?
<p>Is there any interaction from R to RStudio possible?</p>

<p>I would really like, for example, to set the RStudio files pane directory from the R console, like <code>setFilesPane(getwd())</code> or such. I haven't found anything though.</p>

<p><strong>Edit: To clarify:</strong> In RStudio there is a "files pane" (bottom right)</p>

<p><a href="https://i.stack.imgur.com/bADSk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bADSk.png" alt="enter image description here"></a></p>

<p>This can be navigated like any file explorer. However I would like to set the files pane directory (the directory whose contents are shown in the files pane) from my R code instead of having to navigate to my project folder by hand every time. Is there any way to do this?</p>