In Rpy 1 i c can do >>> import rpy >>> d=dict(x=[1,2],y=[2,3]) >>> rpy.set_default_mode(rpy.NO_CONVERSION) >>> df=rpy.r.as_data_frame(d) >>> df <Robj object at 0xb7cd1400>
and i can then use this dataframe as an argument for lm Is there any way to do something similar in rpy2? For the moment the only thing I have found is to use an Environment and to copy my dictionary into it. Laurent ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list