[Rpy] possible to export robjects in R?

2013-01-02 Thread oneswarm1988
hello everyone: I wonder if there is a method that could export the robjects created from python to R , so that I can use the robjects directly in R code . for example : df= DataFrame(xx) is a data frame created in python , and I wish make it public in embedded R , so I can

Re: [Rpy] How do I debug a crash in the windows build of rpy2?

2013-01-02 Thread Johan Johansson
Success: @@ -188,6 +188,8 @@ r_exec = os.path.join(r_home, 'bin', 'R') # Twist if Win32 if sys.platform == "win32": +if sys.version.find("64 bit") > 0: +r_exec = os.path.join(r_home, 'bin', 'x64', 'R') if sys.version_info >= (3,): import sub

Re: [Rpy] How do I debug a crash in the windows build of rpy2?

2013-01-02 Thread Laurent Gautier
On 2013-01-02 15:25, Johan Johansson wrote: > Success: > > @@ -188,6 +188,8 @@ > r_exec = os.path.join(r_home, 'bin', 'R') > # Twist if Win32 > if sys.platform == "win32": > +if sys.version.find("64 bit") > 0: > +r_exec = os.path.join(r_home, 'bin', 'x64', 'R')

Re: [Rpy] How do I debug a crash in the windows build of rpy2?

2013-01-02 Thread Thomas Kluyver
On 2 January 2013 14:25, Johan Johansson wrote: > +if sys.version.find("64 bit") > 0: General Pythonicness tip, you can check it more readably like this: if '64 bit' in sys.version: Best wishes, Thomas -- Mast