[Qgis-user] Qgis/Rpy spqr plugin

Tim Sutton tim at linfiniti.com
Thu Jun 12 21:16:22 PDT 2008


Hi

I guess this is one for you Barry?

regards

Tim

On 6/12/08, Sampson, David <dsampson at nrcan.gc.ca> wrote:
> Hey folks.
>
> I saw this plugin and became quite interested.
>
> http://www.maths.lancs.ac.uk/~rowlings/Software/Spqr/
>
> I followed the instructions for insatalling
>
> I receive the following error when I start up Qgis:
>
> Couldn't load plugin "spqr" from ['C:/Documents and
> Settings/dsampson/.qgis//python/plugins', 'C:/Program Files/Quantum
> GIS/./python', 'C:/Program Files/Quantum GIS/./python/plugins',
> 'C:\Python25\Lib\site-packages\gmt-20050124', 'C:\Python25\Lib\xml',
> 'C:\Program Files\Quantum GIS\python25.zip', 'C:\Python25\Lib',
> 'C:\Python25\DLLs', 'C:\Python25\Lib\lib-tk', 'C:\Program Files\Quantum
> GIS', 'C:\Python25', 'C:\Python25\lib\site-packages',
> 'C:\Python25\lib\site-packages\win32',
> 'C:\Python25\lib\site-packages\win32\lib',
> 'C:\Python25\lib\site-packages\Pythonwin']
>
> Traceback (most recent call last):
>  File "", line 2, in
>  File "C:/Program Files/Quantum GIS/./python/plugins\spqr\__init__.py", line
> 5, in
>   from spqr import Spqr
>  File "C:/Program Files/Quantum GIS/./python/plugins\spqr\spqr.py", line 6,
> in
>   import doHistogram
>  File "C:/Program Files/Quantum GIS/./python/plugins\spqr\doHistogram.py",
> line 6, in
>   import opsR
>  File "C:/Program Files/Quantum GIS/./python/plugins\spqr\opsR.py", line 7,
> in
>   import rpy
>  File "C:\Python25\Lib\site-packages\rpy.py", line 346, in
>   r = R()
>  File "C:\Python25\Lib\site-packages\rpy.py", line 286, in __init__
>   _rpy.r_init(HAS_NUMERIC);
> RuntimeError: Only one R object may be instantiated per session
>
>
>
>
> Details:
> ------------
> Qgis version 0.10.0
> Python: 2.5
> R: 2.70
> Rpy: rpy-1.0.3-R-2.7.0-win32-py2.5
>
>
>
>
> Any ideas?... I am a beginner in Python, have used QGIS for a while and
> willing to tinker if I know where to start.
>
>
> Cheers
>
>

-- 
Sent from my mobile device

Tim Sutton
QGIS Project Steering Committee Member - Release  Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net



More information about the Qgis-user mailing list