Re: [Rpy] import error
What RPy version did you use? You might want to try the latest 1.0-RC3, which should have fixed this problem. Cheers, Manuzhai On 9/11/07, Thomas Walter <[EMAIL PROTECTED]> wrote: > Hi! > > I have successfully used rpy under python 2.4 with R 2.2, and it was > really a great help, because the data structure under R is not so > comfortable to use. > > Now, I had to install R 2.5.1. I did this according to the > recommendation as a shared library. > I reinstalled rpy. Everything went fine. But now, I cannot import rpy > anymore. The error is: > > RHOME= /usr/local/lib/R > RVERSION= 2.5.1 > RVER= 2051 > RUSER= /home/twalter > Loading Rpy version 2051 .. > Traceback (most recent call last): > File "", line 1, in ? > File "/usr/local/lib/python2.4/site-packages/rpy.py", line 117, in ? >exec("import _rpy%s as _rpy" % RVER) > File "", line 1, in ? > ImportError: /usr/local/lib/python2.4/site-packages/_rpy2051.so: > undefined symbol: R_CStackLimit > > What can I do? > > Thank you very much! > > Thomas. > > -- > - > Thomas Walter > > EMBL Heidelberg > Meyerhofstrasse 1 > 69117 Heidelberg > Germany > > Tel: +49 (0)6221 387-8857 > > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > rpy-list mailing list > rpy-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rpy-list > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list
Re: [Rpy] Python 2.5 and R 2.5.1 and Windows Vista
Maybe you can try the binary I compiled using R 2.5.1 and Python 2.5. It's a patched up version of RPy-1.0-RC3. It seems to work for me, although it doesn't seem to fully work for everyone. Anyway, if you try it, let me know if it works. http://manuzhai.nl/files/rpy-1.0-RC3.win32-py2.5.exe Cheers, Manuzhai On 9/11/07, David Montgomery <[EMAIL PROTECTED]> wrote: > Thanks for the response.tried installing numeric...worked...but still > rpy did notstill freezes at the same location. > > I am now out of ideas on how to get rpy to work on windows vista with the > latest R and Python installs. > > > > > Date: Mon, 10 Sep 2007 09:31:37 +0100 > > From: [EMAIL PROTECTED] > > To: rpy-list@lists.sourceforge.net > > Subject: Re: [Rpy] Python 2.5 and R 2.5.1 and Windows Vista > > > > > David Montgomery wrote: > > > Also, per the rpy install directions, required libraries are the > > > win32api modules and the numeric module. The win32api is fine. > > > However, I do have numpy but the numeric module only works with python > > > 2.4 so I cant install it. If numeric is a requirment for rpy and does > > > not work with 2.5...seems like a catch22 to me. > > > > > > So the question ishow can I get rpy to work? Or do I have to > > > downgrade to Python 2.4? > > > > You could try installing Numeric for Python 2.5 for Windows from here, > > courtesy of Biopython: > > > > http://biopython.org/DIST/Numeric-24.2.win32-py2.5.exe > > > > This is a pragmatic short term solution - keep in mind that Numeric is > > no longer supported as the developers have moved over to numpy entirely. > > > > Peter > > > > > > > - > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > > ___ > > rpy-list mailing list > > rpy-list@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/rpy-list > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > rpy-list mailing list > rpy-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rpy-list > > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list
Re: [Rpy] import error
Hi! thank you for your Email. I am using the latest version of rpy: rpy-1.0-RC3 and it did not work ... :-( Thomas. Manuzhai wrote: >What RPy version did you use? You might want to try the latest >1.0-RC3, which should have fixed this problem. > >Cheers, > >Manuzhai > >On 9/11/07, Thomas Walter <[EMAIL PROTECTED]> wrote: > > >>Hi! >> >>I have successfully used rpy under python 2.4 with R 2.2, and it was >>really a great help, because the data structure under R is not so >>comfortable to use. >> >>Now, I had to install R 2.5.1. I did this according to the >>recommendation as a shared library. >>I reinstalled rpy. Everything went fine. But now, I cannot import rpy >>anymore. The error is: >> >>RHOME= /usr/local/lib/R >>RVERSION= 2.5.1 >>RVER= 2051 >>RUSER= /home/twalter >>Loading Rpy version 2051 .. >>Traceback (most recent call last): >> File "", line 1, in ? >> File "/usr/local/lib/python2.4/site-packages/rpy.py", line 117, in ? >> exec("import _rpy%s as _rpy" % RVER) >> File "", line 1, in ? >>ImportError: /usr/local/lib/python2.4/site-packages/_rpy2051.so: >>undefined symbol: R_CStackLimit >> >>What can I do? >> >>Thank you very much! >> >>Thomas. >> >>-- >>- >>Thomas Walter >> >>EMBL Heidelberg >>Meyerhofstrasse 1 >>69117 Heidelberg >>Germany >> >>Tel: +49 (0)6221 387-8857 >> >> >> >>- >>This SF.net email is sponsored by: Microsoft >>Defy all challenges. Microsoft(R) Visual Studio 2005. >>http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ >>___ >>rpy-list mailing list >>rpy-list@lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/rpy-list >> >> >> > >- >This SF.net email is sponsored by: Microsoft >Defy all challenges. Microsoft(R) Visual Studio 2005. >http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ >___ >rpy-list mailing list >rpy-list@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/rpy-list > > -- - Thomas Walter EMBL Heidelberg Meyerhofstrasse 1 69117 Heidelberg Germany Tel: +49 (0)6221 387-8857 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list
Re: [Rpy] Python 2.5 and R 2.5.1 and Windows Vista
Unfortunately, I cannot use that, because I am working under linux. Thx anyway! Thomas. Manuzhai wrote: >Maybe you can try the binary I compiled using R 2.5.1 and Python 2.5. >It's a patched up version of RPy-1.0-RC3. It seems to work for me, >although it doesn't seem to fully work for everyone. Anyway, if you >try it, let me know if it works. > >http://manuzhai.nl/files/rpy-1.0-RC3.win32-py2.5.exe > >Cheers, > >Manuzhai > >On 9/11/07, David Montgomery <[EMAIL PROTECTED]> wrote: > > >>Thanks for the response.tried installing numeric...worked...but still >>rpy did notstill freezes at the same location. >> >>I am now out of ideas on how to get rpy to work on windows vista with the >>latest R and Python installs. >> >> >> >> >> >>>Date: Mon, 10 Sep 2007 09:31:37 +0100 >>>From: [EMAIL PROTECTED] >>>To: rpy-list@lists.sourceforge.net >>>Subject: Re: [Rpy] Python 2.5 and R 2.5.1 and Windows Vista >>> >>> >>>David Montgomery wrote: >>> >>> Also, per the rpy install directions, required libraries are the win32api modules and the numeric module. The win32api is fine. However, I do have numpy but the numeric module only works with python 2.4 so I cant install it. If numeric is a requirment for rpy and does not work with 2.5...seems like a catch22 to me. So the question ishow can I get rpy to work? Or do I have to downgrade to Python 2.4? >>>You could try installing Numeric for Python 2.5 for Windows from here, >>>courtesy of Biopython: >>> >>>http://biopython.org/DIST/Numeric-24.2.win32-py2.5.exe >>> >>>This is a pragmatic short term solution - keep in mind that Numeric is >>>no longer supported as the developers have moved over to numpy entirely. >>> >>>Peter >>> >>> >>> >>> >>> >>- >> >> >>>This SF.net email is sponsored by: Microsoft >>>Defy all challenges. Microsoft(R) Visual Studio 2005. >>>http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ >>>___ >>>rpy-list mailing list >>>rpy-list@lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/rpy-list >>> >>> >>- >>This SF.net email is sponsored by: Microsoft >>Defy all challenges. Microsoft(R) Visual Studio 2005. >>http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ >>___ >>rpy-list mailing list >>rpy-list@lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/rpy-list >> >> >> >> > >- >This SF.net email is sponsored by: Microsoft >Defy all challenges. Microsoft(R) Visual Studio 2005. >http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ >___ >rpy-list mailing list >rpy-list@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/rpy-list > > -- - Thomas Walter EMBL Heidelberg Meyerhofstrasse 1 69117 Heidelberg Germany Tel: +49 (0)6221 387-8857 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list
Re: [Rpy] Fixed the Win XP problem
This version seems to work on my PC (WinXP, python 2.5, R 2.5.1 and NumPy 1.0.3), so thanks for the good work. 1 problem though, on my pc it seems like python crashes, when I want to plot a float32 array, while a float64 is no problem. Am I the only one having this problem? from numpy import * from rpy import * a=arange(10).astype(float32) r.plot(a) Manuzhai wrote: > I think I fixed the problem, at least it works on my box. You can > download a source tarball from my Mercurial repository at [1] (the fix > can also be seen here), this includes the other patches I proposed > earlier. I even prepared a binary [2], but I don't with which versions > it'll work. It seems to work with the setup I have here, which has > Python 2.5, R 2.5.1 and NumPy 1.0.3. > > Cheers, > > Manuzhai > > [1] http://hg.xavamedia.nl/rpy/ > [2] http://manuzhai.nl/files/rpy-1.0-RC3.win32-py2.5.exe > > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > rpy-list mailing list > rpy-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rpy-list > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list
Re: [Rpy] Fixed the Win XP problem
That crashes for me, too. Since I don't know anything about the innards of R or numpy, I have no clue on how to fix this. If/when I need this, I'll look into it again. Cheers, Manuzhai On 9/12/07, Reinder Brolsma <[EMAIL PROTECTED]> wrote: > This version seems to work on my PC (WinXP, python 2.5, R 2.5.1 and > NumPy 1.0.3), so thanks for the good work. > 1 problem though, on my pc it seems like python crashes, when I want to > plot a float32 array, while a float64 is no problem. Am I the only one > having this problem? > > from numpy import * > from rpy import * > a=arange(10).astype(float32) > r.plot(a) > > > Manuzhai wrote: > > I think I fixed the problem, at least it works on my box. You can > > download a source tarball from my Mercurial repository at [1] (the fix > > can also be seen here), this includes the other patches I proposed > > earlier. I even prepared a binary [2], but I don't with which versions > > it'll work. It seems to work with the setup I have here, which has > > Python 2.5, R 2.5.1 and NumPy 1.0.3. > > > > Cheers, > > > > Manuzhai > > > > [1] http://hg.xavamedia.nl/rpy/ > > [2] http://manuzhai.nl/files/rpy-1.0-RC3.win32-py2.5.exe > > > > - > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > ___ > > rpy-list mailing list > > rpy-list@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/rpy-list > > > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > rpy-list mailing list > rpy-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rpy-list > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list