title: readOGR .gdb with multiple Feature Datasets in R
body: <p>I am trying to read shapefiles contained within a geodatabase file (.gdb) into R. The .gdb contains two Feature Datasets with multiple Feature Classes within each. </p>
  
  <p>The problem is only one of the two Feature Datasets is being read. 
  Specifically, I am using the NHD dataset for all states <a href="ftp://nhdftp.usgs.gov/DataSets/Staged/States/FileGDB/HighResolution/" rel="noreferrer">ftp://nhdftp.usgs.gov/DataSets/Staged/States/FileGDB/HighResolution/</a>
  In each state .gdb are two feature Datasets, 'WBD' and 'Hydrography'. Only 'WBD' is being read. Using ogrListLayers only returns layers from 'WBD'. How can I specify the 'Hydrography' dataset and access the Feature Classes within it? </p>
  
  <p>Any suggestions would be much appreciated. 
  R version 3.2.0. OSX v.10.10.3</p>
  
  <p>Edit 06/16/15:
  When I run orgListLayers, it returns:</p>
  
  <pre><code>ogrListLayers('NHDH_VI.gdb')
  [1] "ExternalCrosswalk"       "NHDFCode"                "NHDFeatureToMetadata"   
  [4] "NHDFlow"                 "NHDFlowlineVAA"          "NHDMetadata"            
  [7] "NHDProcessingParameters" "NHDReachCodeMaintenance" "NHDReachCrossReference" 
  [10] "NHDSourceCitation"       "NHDStatus"               "NHDVerticalRelationship"
  [13] "WBDHU14"                 "WBDHU8"                  "WBDHU2"                 
  [16] "WBDHU4"                  "WBDHU6"                  "WBDHU10"                
  [19] "WBDHU12"                 "WBDHU16"                 "HYDRO_NET_Junctions" 
  </code></pre>
  
  <p>The 21 layers are different then expressed by Mike T and hrbrmstr. Specifically I am looking for: <em>Layer name: NHDWaterbody.</em> </p>
  
  <p>When I run<code>ogrinfo -ro NHDH_VI.gdb</code> from terminal. </p>
  
  <pre><code>ERROR 1: Error: Failed to open Geodatabase (This release of the GeoDatabase is either invalid or out of date.)
  FAILURE: Unable to open datasource `NHDH_VI.gdb' with the following drivers.
        -&gt; FileGDB
        -&gt; OpenFileGDB
        ...
  </code></pre>