[Qgis-user] Re: Manage R
Alessandro Sarretta
alessandro.sarretta at inwind.it
Sun Apr 5 11:53:47 PDT 2009
Hi Carson,
I tried to use the Ctrl+F command in the manageR interface to export a R
layer to a file, but I had this message:
Unable to find R package 'rgdal'.
but using R interface I installed rgdal and I can load it without
problem (with "library(rgdal)" command).
If I use "library(rgdal)" in the manageR interface I have this message:
Errore: caricamento pacchetto/namespace fallito per 'rgdal' (in italian)
Error: loading package/namespace failed for 'rgdal' (in english)
The Ctrl+M command works fine.
What could be the problem?
I'm using QGIS 1.0.1 (OSGEO installer) and R-2.7.0 in Windows XP.
Carson Farmer ha scritto:
>> of the table seems to be random.
>> It's a bug or it's a normal behaviour of sp package that I'm not able to
>> manage?
> I noticed that, when I load a layer in manageR, the order of the fields
> Well it's a bit of both: PyQGIS and RPy use python dicts to store
> attribute data etc., and at some point between reading the attributes
> from QGIS and converting to R the fields get randomised (python dicts
> store key-value pairs in random order to speed retrieval). So it's
> nothing to do with R. I am going to have a look at this today, because
> in the past I have been able to overcome this problem. Thanks for
> reminding me ;-)
About this problem, I updated the plugin and now it's works: the fields
are in the original order!
Thank you very much!!!
Ale
More information about the Qgis-user
mailing list