Re: [Rpy] Access slot of S4 object

2010-05-06 Thread Mike Sarahan
It has been a while since I wrote this, but here's what I did: ynames=tmp.do_slot('y.names') My S4 object did not have a period in it. That may complicate things. I know the rpy2 documentation discusses how to deal with this situation, but it seems to be too early in the morning for me to find

[Rpy] Access slot of S4 object

2010-05-06 Thread Sebastian Radestock
Hi all, how can I access a single slot of an S4 object within Rpy and Python? E.g. the S4 object is tmp, and the slot name is y.names, in R I use t...@y.names[[1]] Best regards, Sebastian. = Sebastian Radestock, Dipl.-Bioinf. Computational Structur