Category Archives: R computing environment

Creating polar diagrams with confidence intervals in R

The function r.polar in GRASS GIS allows you to create simple polar diagrams of e.g., the slope aspect or wind directions. These polar diagrams make it easy to spot directional bias, for example in the distribution of the slope aspect … Continue reading

Posted in Data handling, GRASS GIS, R computing environment | Tagged , , , , | Leave a comment

two-minutes video tutorials for R

I just came across this blog with (by the time of writing) sixty two-minutes video tutorials on how to do things in R. Especially nice for those who like to learn by watching and listening. But do pay attention while … Continue reading

Posted in R computing environment | Tagged , , | Leave a comment

If you run out of memory, split up your data

Most functions of GRASS can handle very large data sets. With a few functions you might run out of RAM though. One of these is the r.random.cell. This is a function that generates a random sets of cells with spatial … Continue reading

Posted in Data handling, GIS, GRASS GIS, R computing environment | Tagged , , | Leave a comment

ReshapeGUI – a tool to learn to use reshape2

The package Reshape2 in R is a very powerful tool to flexibly restructure and aggregate data. For users familiar with the pivot table function in Excel or Libreoffice/Openoffice, this tool offers similar (and more) functionality, albeit from the command line. … Continue reading

Posted in R computing environment | Tagged , , , , , | Leave a comment

Start R inside GRASS but keep the terminal prompt

I often run R from within GRASS GIS. For example using R as a scripting language to automate GIS analysis. Or to use statistical models in R on spatial data in GRASS. I used to open R in the terminal. … Continue reading

Posted in GRASS GIS, R computing environment | Tagged , , , , , , | Leave a comment

Overview of R resources

Another nice overview of R resources: http://www.backsidesmack.com/r-resources/. The authors will keep the list updated, so worth bookmarking it. And if you have good suggestions,make sure to leave him a comment.

Posted in R computing environment | Tagged | Leave a comment

Extract values from multiple rasters

I got a question how to create a loop function using the “for” command to process Worldclim layers, all with similar names (e.g. bio1-19, tmin1-12, tmax1-12, prec1-12). The loop would need to repeat for each iteration: adding a column with … Continue reading

Posted in GRASS GIS, R computing environment | Tagged , , | Leave a comment

SQLiteMap

Looks interesting, a R package that provides bindings to Spatialite functionalities. Through this bindings one can carry out the spatial functions available in Spatialite from within R using simple SQL statements.

Posted in GIS software, R computing environment, Spatialite, SQLite | Tagged , , , | Leave a comment

New version of RStudio out

There is a new version (0,93) of Rstudio out, with some nice source editor enhancements, a new Customizable Layout and Appearance option, interactive plotting and more. Check out the RStudio blog or the release notes release notes on the RStudio … Continue reading

Posted in R computing environment | Tagged , , | Leave a comment

R/GRASS connection: more than the sum of its parts

GRASS GIS is a very powerfull GIS offering an extensive set of tools for geospatial data management and analysis, image processing, and spatial modeling. The possibility to directly interact with R further improves the geospatial analysis capabilities of GRASS (see … Continue reading

Posted in Data handling, GIS, GRASS GIS, Modelling, R computing environment | Tagged , , , , , | 13 Comments