On Wed, Jul 18, 2012 at 9:46 AM, Brad Reisfeld <brad.reisf...@gmail.com> wrote:
> Hi,
>
> I have created a binary installer for rpy2 for win32 platforms and
> have lightly tested it on Windows 7.
>
> It may be downloaded from the following url:
>
> https://bitbucket.org/breisfeld/rpy2_w32_fix/issue/1/binary-installer-for-win32
>
> The current code, forked from lgautier's Bitbucket repository and
> tweaked slightly, suffers from a problem that named temporary files
> created by rpy2 under certain circumstances are not automatically
> deleted (at least on Windows 7). Thus, these files must currently be
> deleted by hand.
>
> Kind regards,
> Brad

Awesome! This very exciting. It didn't working out of the box for me,
but the three errors I received add easy fixes:

1) Add the path to R.dll to my PATH variable (I went to the 32-bit directory)
2) Add an environment variable R_HOME (C:\Program Files\R\R-2.12.1 for me)
3) Add an environment variable R_USER (simply my username in Windows).

Last snag is that running the tests with:
DOS>C:\Python27\python.exe -m "rpy2.tests"
yields the following:
E....Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Python27\lib\multiprocessing\forking.py", line 374, in main
    self = load(from_parent)
  File "C:\Python27\lib\pickle.py", line 1378, in load
    return Unpickler(file).load()
  File "C:\Python27\lib\pickle.py", line 858, in load
    dispatch[key](self)
  File "C:\Python27\lib\pickle.py", line 880, in load_eof
    raise EOFError
EOFError
E........Error in function (new = FALSE)  : file choice cancelled
E
[opens up an explorer window looking for a file, which I cancelled]

However, some cursory tinkering with commands here:
http://rpy.sourceforge.net/rpy2/doc-2.1/html/introduction.html
indicates that everything is working as well as i need it too.

Thanks very much for all work put into this!


-paul

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to