rpy2 2.0.7
Agus
Carson Farmer wrote:
Hi Agus,
What version of rpy2 did the easy-install install?
Carson
On Tue, Oct 20, 2009 at 1:47 PM, Agustin Lobo <[email protected]
<mailto:[email protected]>> wrote:
Hi!
I've just installed R (2.8.1), python-dev, rpy2 (through easy-install)
and manageR (qgis 1.3.0) on ubuntu 9.04 jaunty and get this
error after issuing any wrong command in the manageR console, i.e.:
> a = 1?
Error: unexpected end of input in "a = 1?"
and a window opens with:
An error has occured while executing Python code:
Traceback (most recent call last):
File "build/bdist.linux-i686/egg/rpy2/rinterface/__init__.py",
line 108, in consoleFlush
sys.stdout.flush()
AttributeError: QgisOutputCatcher instance has no attribute 'flush'
Python version:
2.6.2 (release26-maint, Apr 19 2009, 02:11:59)
I get the same error if I run the rpy2 test mentioned in
http://rpy.sourceforge.net/rpy2/doc/html/overview.html#installation
in the qgis python console
import rpy2.tests
import unittest
# the verbosity level can be increased if needed
tr = unittest.TextTestRunner(verbosity = 1)
suite = rpy2.tests.suite()
tr.run(suite)
Any idea on how to fix this?
Apparently, the rpy2 installation went ok.
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: [email protected] <mailto:[email protected]>
http://www.ija.csic.es/gt/obster
--
Carson Farmer
National Centre for Geocomputation
John Hume Building,
National University of Ireland, Maynooth,
Maynooth,
Co. Kildare,
Ireland.
www.carsonfarmer.com <http://www.carsonfarmer.com>
------------------------------------------------------------------------
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user