[Qgis-user] Empty Results in R

Werner Macho werner.macho at gmail.com
Mon Mar 31 04:51:33 PDT 2014


Hi!

I recently had the same issue..
I don't know if processing is supposed to install missing module 
automatically but the solution for me was to install the missing 
packages "rgrdal" and "raster" on my Computer manually..

R
install.packages();

hope this helps

regards
Werner


On 03/31/2014 01:07 PM, Filipe Dias wrote:
> Im also on Ubuntu 12.04 and tested with R 3.0.1 and R 3.0.3 and it 
> works as expected.
>
> Have you "upgraded" Processing in the plugin installer? Unfortunately 
> it install an old and outdated version of the code...
>
> regards
>
>
> On Mon, Mar 31, 2014 at 11:32 AM, Luis Miguel Royo Pérez 
> <luis.miguel.royo at gmail.com <mailto:luis.miguel.royo at gmail.com>> wrote:
>
>     Exactly what happened to Paolo,
>
>     <font face="courier">
>     <h2> R Output</h2>
>     </font>
>
>     or
>
>     <img
>     src="/tmp/sextante/rrasterhistogram18a1cdc6d0734098bc728452ee90d3a6.html.png"/>
>
>     Empty outputs. The windows are shown, but the content is none.
>
>     Thank you!!
>
>
>     El 31/03/14 11:39, Filipe Dias escribió:
>>     Hi,
>>     The output of that script should be a window showing you the
>>     frequency table for the selected field.
>>     What happens in your case?
>>
>>
>>
>>
>>
>>
>>     On Mon, Mar 31, 2014 at 7:58 AM, Luis Miguel Royo Pérez
>>     <luis.miguel.royo at gmail.com <mailto:luis.miguel.royo at gmail.com>>
>>     wrote:
>>
>>         Hi everyone,
>>
>>         I'm getting empty results in "R" processes, it's happening
>>         the same than this post
>>         <http://osgeo-org.1560.x6.nabble.com/SEXTANTE-R-output-td5065333.html>.
>>
>>         This is what I get in the log:
>>
>>         R execution commands
>>
>>         options("repos"="http://cran.at.r-project.org/"
>>         <http://cran.at.r-project.org/>)
>>
>>         tryCatch(find.package("rgdal"), error=function(e)
>>         install.packages("rgdal", dependencies=TRUE))
>>
>>         tryCatch(find.package("raster"), error=function(e)
>>         install.packages("raster", dependencies=TRUE))
>>
>>         library("raster")
>>
>>         library("rgdal")
>>
>>         Layer =
>>         readOGR("/home/XXXXX/Documentos/Curso_XXXXX/renovacion/cartografia",layer="ciudades_panama")
>>
>>         Field="pop_max"
>>
>>         table(Layer[[Field]])
>>
>>
>>
>>         I'm using:
>>
>>             _Ubuntu_: 12.04.4 LTS
>>             _QGIS:_   2.2 Valmiera
>>             _R:_    3.0.3.20140328
>>
>>
>>         I looked for some solution but I didn't find any way. Any
>>         help please?
>>
>>         Thank you!!
>>
>>
>>
>>         _______________________________________________
>>         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
>>
>>
>
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

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


More information about the Qgis-user mailing list