The natural Python equivalent to a named list in R is a dict, but RPy2 gives you a ListVector object.
import rpy2.robjects as robjects a = robjects.r(\'list
You can also do the following:
In
dict(a.items())
Out
{'foo': R object with classes: ('character',) mapped to: ['barbat'], 'fizz': R object with classes: ('numeric',) mapped to: [123.000000]}