Hi
 
I’ve been trying to get Rpy2 to work with Windows 7 for the last two days. 
After trying to fix it numerous times, and reading the mailing lists I still 
haven’t figured it out. 
 
I’ve already configured everything as per
 
https://bitbucket.org/lgautier/rpy2/src/cfc769eacc586a46f3b147fb7e1fcde2b4ac57ab/INSTALL_WINDOWS?at=default

I have currently installed the following

R version 2.15.2
R tools latest version
MVS express 2008 for C++

i’ve tried installing using easy_install, pip and just python but I get 
basically the same problem.  

The intial installing and building seems to work, but then it begins printing a 
string of errors.
I won’t paste the entire error as it is very long but it essentially starts 
with this

”
creating build\temp.win32-2.7\Release\rpy\rinterface
   C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo 
/Ox /MD /W3 /GS- /DNDEBUG -DWin32=1 -I.\rpy\rinterface -IC:\Python27\include 
-IC:\Python27\PC -Ic:/PROGRA~1/R/R-215~1.2/include/i386 
-Ic:/PROGRA~1/R/R-215~1.2/include /Tc.\rpy\rinterface\_rinterface.c 
/Fobuild\temp.win32-2.7\Release\.\rpy\rinterface\_rinterface.obj

   _rinterface.c

   C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\pshpack4.h(24) : 
warning C4068: unknown pragma

   C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winsock2.h(44) : 
warning C4103: 'c:\program files\microsoft 
sdks\windows\v6.0a\include\winsock2.h' : alignment changed after including 
header, may be due to missing #pragma pack(pop)

   C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\windows.h(132) : 
warning C4068: unknown pragma 
”

____


it then ends with this

“
c:\users\joey\appdata\local\temp\pip-build\rpy2\rpy\rinterface\embeddedr.c(310) 
: fatal error C1003: error count exceeds 100; stopping compilation

error: command '"C:\Program Files (x86)\Microsoft Visual Studio 
9.0\VC\BIN\cl.exe"' failed with exit status 2

”


I have no idea what is going on. If someone could help this would be much 
appreciated

Regards

Joseph

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to