>> r.dev.off() >> ... >> LookupError: 'dev' not found > > Python is not R. The dot ("."), like in a large number of other > language, has a particular semantic meaning and therefore is > not a valid character for variable names. > > r['dev.off']() is what you are looking for.
Does the rpy v1 style r.dev_off() still work in rpy v2? Personally I much prefer this to r['dev.off']() for readability. Peter ------------------------------------------------------------------------- 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