A Python library to read R datasets (.rda, .rdata) into Python objects. Version 1.0.0, stable release, low cadence.
pip install rdataVerified import paths — ran on the pinned version, not inferred.
Open an .rda file in binary mode and parse with read_rda. Returns a dict of R objects.
Upgrade Python to 3.11 or later.
Open the file with open(path, 'rb') before calling read_rda.
Replace read_r with read_rda and adjust argument order.
Use open('file.rda', 'rb') to create a file object.Verify the file is an R data file; re-save from R if needed.