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)
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_
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