title: RStudio show directory contents in file tab display window
body: <p>Is it possible to show a file directory using function/code? I find myself clicking through file structures to view a directory. I'd like to use some like this:</p>
  <pre><code>my_search_finding &lt;- grep('search-pattern', list.files('~/some/long/directory/tree'))
  
  new_function_to_view_files(my_search_finding) 
  </code></pre>
  <p>Then the directory is opened in that viewer display and I can explore using the mouse.</p>
  <p><a href="https://i.stack.imgur.com/MfpOI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MfpOI.png" alt="enter image description here" /></a></p>
  <p>Thanks</p>