On 2011-08-22 19:48, Jiri Pik wrote:
Hello Laurent,

can you advise - is there any reason why R for Win and R for Unix have different command line structures and distributions?

in my view, this should be fixed in R and not in rpy2.

You may want to post on the R-devel mailing list if you want to propose changes to R. I had limited success there, but someone else might achieve more.



e.g. RInterface.h is missing and "R CMD" doesn't work.

but i got quite far so far. Just to fix these issues below and i am done.

From the dependency to readline I assume that you are trying to compile the lastest rpy2, and then I think that you might have hit just the tip of the iceberg.


C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DWin32=1 -DCSTACK_DEFNS=1 -DRIF_HAS_RSIGHAND=1 -I.\rpy\rinterface -IC:\Python27\include -IC:\Python27\PC -Ic:\Progra~1\R\R-2.13.1\include\ -c .\rpy\rinterface\_rinterface.c -o build\temp.win32-2.7\Release\.\rpy\rinterface\_rinterface.o
In file included from c:\Progra~1\R\R-2.13.1\include/R.h:44:0,
                 from .\rpy\rinterface\_rinterface.c:61:
c:\Progra~1\R\R-2.13.1\include/R_ext/RS.h:43:0: warning: "ERROR" redefined
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wingdi.h:313:0: note: this is the location of the previous definition
In file included from .\rpy\rinterface\_rinterface.c:66:0:
c:\Progra~1\R\R-2.13.1\include/Rinterface.h:86:24: error: conflicting types for 'uintptr_t' c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/stdint.h:75:24: note: previous declaration of 'uintptr_t' was here .\rpy\rinterface\_rinterface.c:79:31: fatal error: readline/readline.h: No such file or directory
compilation terminated.



Monday, August 22, 2011, 5:43:55 PM, you wrote:


        On 2011-08-22 17:28, Jiri Pik wrote:

Hello Thomas,

fine, i can play with it for sure, but i am confused. If the recent versions of rpy2 are not supported by Win then

1. why there is a Win installer for the latest version of rpy2?

Latest ? The latest release is 2.2.2.

2. why the documentation at source forge doesn't mention it quite clearly.

http://rpy.sourceforge.net/rpy2/doc-2.2/html/overview.html#microsoft-s-windows-precompiled-binaries


In any case, i will look into how to make it work and advise - timeframe unclear as i am tied up with other stuff.



Monday, August 22, 2011, 12:41:58 PM, you wrote:


On 22 August 2011 11:01, Jiri Pik <r...@jiripik.com <mailto:r...@jiripik.com>> wrote:
Actually,  what  distribution  of R is supported? I assume part of the
problem  is  that rpy2 depends on some custom built R package, not the
standard one from http://cran.opensourceresources.org/bin/windows/base/R-2.13.1-win.exe

Rpy2 works with standard R distributions, but recent versions (of rpy2) have not supported Windows. So the version you're using is from a couple of years ago, and probably expects a slightly older version of R. If you've got the time and ability to get the latest release of rpy2 working on Windows, I'm sure that people would be grateful.

Thomas






/--
Best regards,
 Jiri /mailto:r...@jiripik.com
------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net <mailto:rpy-list@lists.sourceforge.net>https://lists.sourceforge.net/lists/listinfo/rpy-list



/--
Best regards,
 Jiri /mailto:r...@jiripik.com

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to