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

2009-07-08 Thread reyman
Thx for you help Laurent, I'm change my code for this : rconn = r.dbConnect bdobj = r.PgSQL print "--\n" print bdobj conn = rconn( bdobj(), host="localhost", dbname="simpop", user="postgres", pass\ word="postgres") *with a different execution error : * Error in dbConnectionInfo.PgSQL.conn(conn)

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

2009-07-07 Thread Laurent Gautier
reyman wrote: > 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_

[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