On Jan 7, 2008, at 11:32AM , Barry Rowlingson wrote:
> Gregory Warnes wrote:
>>> Thanks for the help, not sure where to go now except maybe if
>>> rpy had an option to pass --no-Rconsole to R on startup...
>> Rpy can pass anything we want to R, but as far as I can tell R
>> itself doesn't ha
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 im
Gregory Warnes wrote:
> Hi Barry,
> This will prevent R/Rpy from being able to ready *anything* from the
> console, so be careful. If this works, then you should find out how
> QGIS sets up Python's console read operation and do the same thing
> for R/Rpy.
Righto, I'll try that later to
Hi Barry,
I suspect the problem is that QGIS has set up python's console input
differently than rpy expects. At the moment, there is no way to
tell RPy to do something different with i/o during startup. (After
startup you can call set_rpy_output() and set_rpy_input() to provide
new i/o
Starting with a fresh Windows XP system I've installed R 2.6.1 and the
latest Rpy and Python 2.5 from binaries. That all works fine together.
I've also installed Quantum GIS (QGIS) 0.9.1 from released binaries.
QGIS has an embedded python interpreter which gives access to the
geographic data an