[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

[Rpy] building 2.0.6 on Win32/Py2.5

2009-07-07 Thread Chuck White
Setup: Windows XP, Python 2.5.4.4, MSYS-1.0.11-rc-1, MinGW-5.1.4 (copied gcc-full-4.4.0-mingw32 on the install), R-2.9.1 Trying to compile rpy2-2.0.6 using "python setup.py build" PROBLEM 1 rpy\rinterface\rinterface.c: In function 'EmbeddedR_init': rpy\rinterface\rinterface.c:474: error: 'R_Sign

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] building 2.0.6 on Win32/Py2.5

2009-07-07 Thread Chuck White
After I posted the previous message, I repeated the process on a windows machine with Python 2.6 and still get the same error. I would appreciate any help. -- Enter the BlackBerry Developer Challenge This is your ch

[Rpy] building 2.0.6 on Win32/Py2.5

2009-07-07 Thread Chuck White
The error in my previous post was because in unixcompiler.py (line 282) compiler = os.path.basename(sysconfig.get_config_var("CC")) compiler was being set to None. By changing this to compiler = "gcc" I now get the following error: build\temp.win32-2.6\Release\rpy\rinterface\array.o:array.c:(.t