Re: Rpy Module

2008-05-18 Thread Mike P
Superb, thanks

--
http://mail.python.org/mailman/listinfo/python-list


Rpy Module

2008-05-16 Thread Mike P
Hi experts,

I've just seen there is an R module, what i can't see easily is if you
can / how to import other modules for R into the Rpy module

Can anyone advise on this?

Cheers

Mike
--
http://mail.python.org/mailman/listinfo/python-list


Re: Rpy Module

2008-05-16 Thread Manu Hack
On Fri, May 16, 2008 at 6:14 PM, Mike P [EMAIL PROTECTED]
wrote:

 Hi experts,

 I've just seen there is an R module, what i can't see easily is if you
 can / how to import other modules for R into the Rpy module

 Can anyone advise on this?


Say if you want to use Hmisc within rpy,

import rpy
rpy.r.library('Hmisc')

Manu
--
http://mail.python.org/mailman/listinfo/python-list

Re: Rpy Module

2008-05-16 Thread [EMAIL PROTECTED]
On May 16, 3:14 pm, Mike P [EMAIL PROTECTED] wrote:
 Hi experts,

 I've just seen there is an R module, what i can't see easily is if you
 can / how to import other modules for R into the Rpy module

 Can anyone advise on this?

 Cheers

 Mike

Do you mean like this?

import rpy
rpy.r('require(MASS)')

HTH,
David
--
http://mail.python.org/mailman/listinfo/python-list