> Not completely, but I clearly overlooked the fact that such backward > compatibility through import statements are common practice in Python. > That's an interesting suggestion from Andrew... let me think on how I > can tie that together. > > I am also seeing two separate points here: > - provide the '.'-to-'_' feature as an option for rpy2's robjects
This would be nice for those of us used to the old rpy1 name mapping - but I can see we you don't want it as the default. > - provide full/limited backward compatibility with rpy-1.0 as a module > (so legacy rpy code can run as such) This does seem to be a useful feature to have. However, if rpy1 will continue to be maintained and updated for each new R release for say a year (in parallel with rpy2), this is less important. >> Earlier in this thread Laruent wrote: >> > There is also a module "rpy_classic" that is a rough emulation of rpy >> > built with rpy2.rinterface (the emulation is rough because of limited >> > time on my end - this is also a demo of how how could build an interface >> > to R without touching on C code). >> >> If this can be tested, then it sounds like it should be the recommended >> route for converting rpy1 code for rpy2. > > May be not what you are expecting. The aim of rpy_classic is to have rpy > code running without (much) modification. Could you clarify what you mean by "The aim of rpy_classic is to have rpy code running without (much) modification." Do you mean old rpy1 code, or something different? I was making an assumption based on the name that the rpy_classic module would provide "classic" (i.e. "old fashioned") rpy behaviour, but this doesn't seem to be what you mean. Thanks, 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