I have a number of saved R datasets (though they have .R
extensions). I can access one of these matrices fname.R
with R, using load("fname.R")
and then entering the filename fname
.
However, I would like to use this matrix in Python. I could use rpy2
to import the data, but I am interested in manipulating this data as well. How can I turn it into a Python matrix?