[Rpy] Python and RPY to manipulate R and Rdbi , R and GRASS

2009-06-25 Thread reyman
Hello guys, I have a big project for six month, i need a little help about technology imbrication ... 1) Reflexion about System architecture > a) I want to make script in python which control/launch R, R access data with library "rdbi" and "RdbiPgSQL". I need this to realize simple statistics

Re: [Rpy] Python and RPY to manipulate R and Rdbi , R and GRASS

2009-06-25 Thread reyman
ostgres", password="postgres") > #If you want to go back to the default conversion, > rpy.set_default_mode(rpy.BASIC_CONVERSION) > Connection is ok with this code, thanks a lot to help me ! Seb On Thu, Jun 25, 2009 at 3:20 PM, Peter wrote: > On Thu, Jun 25, 2009 at 2:08 PM, re

[Rpy] Rpy and rdbi database object PgSQL()

2009-07-07 Thread reyman
Hello, I have problem with last version of R and rpy classic, so i try to convert my source code into rpy2, but i have problem to understand with calling function into a function Exemple with my db connection : * With rpy classic, it's ok : * rpy.set_default_mode(rpy.NO_CONVERSION) r('conn <- dbC

Re: [Rpy] Rpy and rdbi database object PgSQL()

2009-07-08 Thread reyman
gSQL.conn(conn) : SET_VECTOR_ELT() can only be applied to a 'list', not a 'character' An idea of problem ? perhaps i need to utilize sexp** ?? Thx for you help ! On Tue, Jul 7, 2009 at 6:48 PM, Laurent Gautier wrote: > reyman wrote: > >> Hello, >> I ha