[Qgis-user] import vector layer in manageR

Paulo van Breugel p.vanbreugel at gmail.com
Thu Jun 28 05:58:15 PDT 2012


Hi Sebastiano

Thanks for the suggestion. Both are great tools, but I would use them 
for different kind of tasks.

What I like about manageR is that it is basically an alternative CLI 
(including syntax highlighting) combined with a simple GUI with some 
predefined R relevant functions and with a loose integration of R in 
QGIS (easy import/export of data between the two).

I like the Sextante plugin too, but it serves a different purpose (for 
me). The R module does not seem to be a direct access to the R command 
line (or at least I haven't found out how). This means it only gives 
access to predefined functions or you have to create functions yourself 
which can then be access through a GUI window. This is extremely useful 
when working often with certain R functions, but without the option to 
work directly from the command line and direct access to all R functions 
(without having to define functions first), it does not offer the same 
flexibility that manageR offers.

Cheers,

Paulo




On 06/28/2012 02:35 PM, Sebastiano Lora wrote:
> Hello,
> I do not know how to solve your problem (I had the same but under 
> windows same time ago), but you can try to install the sextante plugin 
> for QGIS. This should allow you to use R direct in QGIS.
>
> Hope it works
> bye
> Sebastiano
>
>
> On 28 June 2012 13:36, Paulo van Breugel <p.vanbreugel at gmail.com 
> <mailto:p.vanbreugel at gmail.com>> wrote:
>
>     Sorry, I should have mentioned that I am working with QGIS master
>     on Ubuntu 12.04, manageR 1.0 and R 2.15
>
>
>
>     On 06/28/2012 01:34 PM, Paulo van Breugel wrote:
>>     Hi,
>>
>>     I am trying to import a vector layer (shapefile) from QGIS in R
>>     using manageR
>>
>>     First manageR does not find the sp package. That can be solved by
>>     defining the library location
>>     (library(sp,lib.loc="/home/paulo/.Rpackages/"). Not sure though
>>     why manageR does not find the package by default, in R or Rstudio
>>     this is no problem.
>>
>>     Then, when trying to import the layer (ctrl+L or the import
>>     button) I am getting the following error message:
>>
>>     > manageR import function
>>     Error in function (projargs) :
>>     PROJ4 argument-value pairs must begin with +: NA
>>
>>     The vector layer is just a normal shapefile with prj file.
>>
>>     Best wishes
>>
>>     Paulo
>
>
>
>     _______________________________________________
>     Qgis-user mailing list
>     Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
>
> -- 
> Sebastiano Lora Dr phil
> Deutsches Archäologische Institut Orient-Abteilung
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120628/b5f41a0b/attachment.html>


More information about the Qgis-user mailing list