[Qgis-developer] erroR in py plugins

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Thu Apr 1 11:34:18 EDT 2010


On Thu, Apr 1, 2010 at 3:58 PM, Paolo Cavallini <cavallini at faunalia.it> wrote:
>
> On Thu, 01 Apr 2010 16:43:09 +0200, Stefan Kiefer <st_kiefer at web.de> wrote:
>> Hi,
>> is R still installed ... in the usual place (most probably /usr/lib/R) ?
>> libR.so should be found in the lib folder.
>> ...
>
> Apparently yes:
> ls -l /usr/lib/R/lib/libR.so
> -rw-r--r-- 1 root root 2622756 15 dic 04:51 /usr/lib/R/lib/libR.so
> Maybe rpy2 is incompatible with this version of R?
> I have 2.10.1-2 on debian testing.
> Thanks.

 Take qgis out of the equation and see if Rpy works with Python, with
'from rpy2 import *' from the python command line.

 If that works:
   then check that qgis is using the same python as your command line.

 else:
   make it work :) It's not a qgis problem any more :)

Barry


-- 
blog: http://geospaced.blogspot.com/
web: http://www.maths.lancs.ac.uk/~rowlings
web: http://www.rowlingson.com/
twitter: http://twitter.com/geospacedman
pics: http://www.flickr.com/photos/spacedman


More information about the Qgis-developer mailing list