Ah, that makes sense. R on linux compiles any included C or Fortran so
you need the development libraries and R does not handle this automatically.

For others facing this issue, this likely takes care of it.
sudo apt-get install build-essential
sudo apt-get build-dep gdal-bin

If you had been directly in R the error on the build would have said
what lib was missing.

Enjoy,
Alex

On 03/31/2014 05:51 AM, Luis Miguel Royo Pérez wrote:
> After install libproj-dev, I could install those packages and everything
> is working fine.
> 
> Thanks a lot!!!
> 
> 
> 
> 
> El 31/03/14 13:51, Werner Macho escribió:
>> 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.r...@gmail.com <mailto:luis.miguel.r...@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.r...@gmail.com <mailto:luis.miguel.r...@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to