Re: [Tutor] Python and rpy

2007-01-14 Thread Geoframer
I actually had Numeric under WinXP also, manually installed it and could import Numeric so that wasn't it imho. On 1/11/07, Hugo González Monteverde <[EMAIL PROTECTED]> wrote: Geoframer wrote: > > However i switched to Ubuntu 6.10 today (from WinXP) and to my suprise > it does work under linux!

Re: [Tutor] Python and rpy

2007-01-11 Thread Hugo González Monteverde
Geoframer wrote: > > However i switched to Ubuntu 6.10 today (from WinXP) and to my suprise > it does work under linux! :-) Probably Numeric is included in Ubuntu's Python distro. Hugo ___ Tutor maillist - Tutor@python.org http://mail.python.org/m

Re: [Tutor] Python and rpy

2006-12-28 Thread Geoframer
Hey Kent, Well i've gotten exactly no response on the Rpy-list on both my questions :-(. However i switched to Ubuntu 6.10 today (from WinXP) and to my suprise it does work under linux! :-) RHOME= /usr/lib/R RVERSION= 2.3.1 RVER= 2031 RUSER= /home/geofram Loading Rpy version 2031 .. Done. Creat

Re: [Tutor] Python and rpy

2006-12-24 Thread Kent Johnson
Geoframer wrote: > As i stated i think the conversion from Python to R is going wrong, but > i have no clue on how to properly address that. I agree. If you have Numeric installed (which I do) then r.diag() should return a Numeric array, not a list of lists. This looks like the same problem di

Re: [Tutor] Python and rpy

2006-12-22 Thread Geoframer
Thanks Kent that helps some, at least i can do the basic stuff i can do in R now. But you kinda hit the nail on the head with your statement "This seems to work, it keeps a in the internal R representation instead of converting it to a list of lists" This all started with me trying to get R to do

Re: [Tutor] Python and rpy

2006-12-21 Thread Kent Johnson
Geoframer wrote: > R is a statistical language and Rpy is the python interface for it. > However somehow I'm failing to see a step in the python code with which I > address the R language. > > in R I can do : > > a=diag(10) #produces an identity matrix of > size 10