00_read rdata in python - smart1004/ReadTheDocs GitHub Wiki
https://rpy2.readthedocs.io/en/version_2.8.x/
https://stackoverflow.com/questions/51722253/how-to-load-rs-rdata-files-into-python
https://m.blog.naver.com/PostView.nhn?blogId=wjddudwo209&logNo=220831404885&proxyReferer=http%3A%2F%2Fwww.google.com%2F
https://m.blog.naver.com/wjddudwo209/220839742005
There is a new python package pyreadr that makes very easy import RData and Rds files into python:
import pyreadr
result = pyreadr.read_r('mtcars_nms.rdata')
mtcars = result['mtcars_nms'] It does not depend on having R or other external dependencies installed. It is a wrapper around the C library librdata, therefore it is very fast.
You can install it very easily with pip:
pip install pyreadr The repo is here: https://github.com/ofajardo/pyreadr
Disclaimer: I am the developer.