[R] Interfacing R and Python in MS Windows

"Héctor Villafuerte D." hec.villafuerte at telgua.com.gt
Tue Dec 9 22:42:05 CET 2003


I got farther this time, but it wasn't enough though...
does anyone know what this errors are?
Thanks!
Hector


E:\to_do>Rcmd INSTALL e:/to_do/RSPython.tar.gz

---------- Making package RSPython ------------

   **********************************************
   WARNING: this package has a configure script
         It probably needs manual configuration
   **********************************************

  installing inst files
  adding build stamp to DESCRIPTION
  making DLL ...
making GeneralConverters.d from GeneralConverters.c
making PythonCall.d from PythonCall.c
making PythonFunctionConverters.d from PythonFunctionConverters.c
making PythonReferences.d from PythonReferences.c
making PythonReflectance.d from PythonReflectance.c
making RCall.d from RCall.c
making RPythonConverters.d from RPythonConverters.c
making RPythonReferences.d from RPythonReferences.c
making UserConverters.d from UserConverters.c
gcc  -I../inst/include -Ic:/Python23/include -D_R_=1 -DUSE_R=1 
-IC:/PROGRA~1/R/rw1080/src/include -Wall -O2   -c General
Converters.c -o GeneralConverters.o
In file included from c:/Python23/include/Python.h:75,
                 from ../inst/include/RPythonModule.h:4,
                 from ../inst/include/UserConverters.h:4,
                 from GeneralConverters.c:1:
c:/Python23/include/intobject.h:41: parse error before 
"PyInt_AsUnsignedLongLongMask"
c:/Python23/include/intobject.h:41: warning: type defaults to `int' in 
declaration of `PyInt_AsUnsignedLongLongMask'
c:/Python23/include/intobject.h:41: warning: data definition has no type 
or storage class
In file included from c:/Python23/include/Python.h:77,
                 from ../inst/include/RPythonModule.h:4,
                 from ../inst/include/UserConverters.h:4,
                 from GeneralConverters.c:1:
c:/Python23/include/longobject.h:37: warning: parameter names (without 
types) in function declaration
c:/Python23/include/longobject.h:39: parse error before "PyLong_AsLongLong"
c:/Python23/include/longobject.h:39: warning: type defaults to `int' in 
declaration of `PyLong_AsLongLong'
c:/Python23/include/longobject.h:39: warning: data definition has no 
type or storage class
c:/Python23/include/longobject.h:40: parse error before 
"PyLong_AsUnsignedLongLong"
c:/Python23/include/longobject.h:40: warning: type defaults to `int' in 
declaration of `PyLong_AsUnsignedLongLong'
c:/Python23/include/longobject.h:40: warning: data definition has no 
type or storage class
c:/Python23/include/longobject.h:41: parse error before 
"PyLong_AsUnsignedLongLongMask"
c:/Python23/include/longobject.h:41: warning: type defaults to `int' in 
declaration of `PyLong_AsUnsignedLongLongMask'
c:/Python23/include/longobject.h:41: warning: data definition has no 
type or storage class
make[2]: *** [GeneralConverters.o] Error 1
make[1]: *** [srcDynlib] Error 2
make: *** [pkg-RSPython] Error 2
*** Installation of RSPython failed ***



Liaw, Andy wrote:

>Check the "Writing R Extensions" manual for requirements on the DESCRIPTION
>file.
>
>HTH,
>Andy
>  
>




More information about the R-help mailing list