title: converting .rda to pandas dataframe
body: <p>I have some .rda files that I need to access with Python.
  My code looks like this:</p>
  
  <pre><code>import rpy2.robjects as robjects
  from rpy2.robjects import r, pandas2ri
  
  pandas2ri.activate()
  df = robjects.r.load("datafile.rda")
  df2 = pandas2ri.ri2py_dataframe(df)
  </code></pre>
  
  <p>where <em>df2</em> is a pandas dataframe. However, it only contains the header of the <code>.rda</code> file! I have searched back and forth. None of the solutions proposed seem to be working.</p>
  
  <p>Does anyone have an idea how to efficiently convert an <code>.rda</code> dataframe to a pandas dataframe?</p>