Tag Archives: R

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

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

Combining text from data frame in one text string in R

Earlier I wrote about the custom STRJOIN function in OpenOffice. A very handy function when you need to combine all values in a row or column (or combination of the two), separated by a delimiter. In R this is (also) … Continue reading

Posted in Data handling, R computing environment | Tagged , | 1 Comment

Finding and renaming long file names with R

I have never given it a though, but there is apparently a limit to the length of file names that can be handled by Windows Explorer of Windows XP. I found out when trying to copy my Zotero folder to … Continue reading

Posted in R computing environment | Tagged , , , , | 2 Comments