Hi Barry,

Grab the latest SVN version of rpy.  I've added the ability to avoid  
setting up reading and writing the console via rpy_options:

        import rpy_options
        rpy_options.set_options(SETUP_READ_CONSOLE=False,  
SETUP_WRITE_CONSOLE=False, SETUP_SHOWFILES=False)
        from rpy import *

If that works, you'll need to add calls to

        set_rpy_output(...)
        set_rpy_input(...)
        set_rpy_showfiles(...)

to appropriate functions, perhaps

        set_rpy_output( console_display_hook )

would be enough.

-G


On Jan 2, 2008, at 5:22PM , Barry Rowlingson wrote:

> Greg,
>  that patch of yours doesn't work. I tried a few other things - no  
> luck.
>
>  The Qgis code that initialises python is here:
>
> http://svn.qgis.org/api_doc/html/qgspythonutils_8cpp- 
> source.html#l00036
>
>  anything in there look suspicious?
>
> Barry


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to