I use ArcGIS10.4.1
I have several feature classes in feature datasets

I want to export all these features' attribute table into txt automatically by python
I heard about that ArcGIS10.4.1 supports data exchange between R and ArcGIS, how can I export these feature classes' attribute table into R's dataframe?