title: list.files() -recursive argument not working sometime?
body: <p>When I run list.files on a directory, I get the following results.</p>
  
  <pre><code>&gt; list.files(file_path)
  [1] "folder 1"   "folder 2"
  </code></pre>
  
  <p>Within these folders I know that there are other folders, and I want to get their folder names as well. So I run list.files with recursive = T, but this is the result I get.</p>
  
  <pre><code>&gt; list.files(file_path, recursive = TRUE)
  character(0)
  </code></pre>
  
  <p>What is the reason for this? Is the recursive argument broken? I've banged my head against the wall for over an hour trying to figure it out. The command line and Python have no problem with the specified directory. It's just R and the list.files() command that won't work. </p>