Re: [Rpy] RPy2 and data.frame

2008-11-14 Thread laurent
On Thu, 2008-11-13 at 08:43 +0100, [EMAIL PROTECTED] wrote: [...cut...] > > Now we are trying to make the switch to rpy2. Note that the porting effort does not have to be made in one go. rpy2 has a module to emulate rpy's behavior, and have it interplay with the rest is possible. It is curren

Re: [Rpy] Problems installing RPy on 64 bit Suse Enterprise (again)

2008-11-14 Thread Paul Geeleher
Thanks for the response Laurent. I'll give it a go and let you know how it works out. -Paul. On Fri, Nov 14, 2008 at 7:18 PM, laurent oget <[EMAIL PROTECTED]> wrote: > This definitely looks weird. I have built rpy and rpy2 on 64-bit > linux, but this was always using a python i built before, si

Re: [Rpy] RPy2 and data.frame

2008-11-14 Thread laurent
The constructor for RDataFrame is very conservative regarding that... may be too much, the more I think about it. I am considering making it accept any object that has the method 'items()' (which would at least cover TaggedList as well as regular Python dictionaries). L. On Fri, 2008-11-14 a

Re: [Rpy] Problems installing RPy on 64 bit Suse Enterprise (again)

2008-11-14 Thread laurent oget
This definitely looks weird. I have built rpy and rpy2 on 64-bit linux, but this was always using a python i built before, since the machine i am using come with an antiquated python in the distribution. I just looked at one of those machine and I noticed my hand-built python does not have a libpy

Re: [Rpy] Postscript and PDF with errors --> do not open

2008-11-14 Thread Aurelie Bornot
Thank you for your interest on this problem ! I am sorry I do not remember which version of R was installed on my old computer. And I do not have access to it anymore.. Have a good week-end ! Aurélie laurent a écrit : On Fri, 2008-11-14 at 11:29 -0500, laurent oget wrote: As i suspected t

[Rpy] Problems installing RPy on 64 bit Suse Enterprise (again)

2008-11-14 Thread Paul Geeleher
Hi I posted this message about 10 days ago and I didn't get a reply, so I'm going to chance re-posting, hopefully somebody can help me out because I still haven't managed to fix it... ___ Hi all, I'm trying to install Rpy on a 64 bit Suse Enterprise Edition Server. I'm running R ve

Re: [Rpy] Postscript and PDF with errors --> do not open

2008-11-14 Thread laurent
On Fri, 2008-11-14 at 11:29 -0500, laurent oget wrote: > As i suspected there is code to deal with the locale in the main.c of > R, which switches some locale to "" which means they will use this > machine's custom locale instead of "C", but they explicitely do not do > it for LC_NUMERIC > > I s

Re: [Rpy] Postscript and PDF with errors --> do not open

2008-11-14 Thread laurent oget
As i suspected there is code to deal with the locale in the main.c of R, which switches some locale to "" which means they will use this machine's custom locale instead of "C", but they explicitely do not do it for LC_NUMERIC I suspect a setlocale(LC_NUMERIC,"C") before loading the R library woul

Re: [Rpy] RPy2 and data.frame

2008-11-14 Thread laurent oget
I encountered the same issue a few weeks ago http://sourceforge.net/mailarchive/message.php?msg_name=1224257111.11195.93.camel%40hot-spring import array import rpy2.robjects as ro import rpy2.rlike.container as rlc x = ro.RVector(array.array('i', [1,2])) y = ro.RVector(array.array('i', [3,4]))

Re: [Rpy] Postscript and PDF with errors --> do not open

2008-11-14 Thread Aurelie Bornot
Hello, With these lines before importing rpy, everything goes perfectly well ! import locale locale.setlocale(locale.LC_ALL,'C') Thank you very much for your help Laurent, Barry and Peter ! This fix will help me a lot ! Aurélie laurent oget a écrit : Yup, this definitely is broken... So