Monthly Archives: March 2010

R script to import WorldClim datalayers in GRASS GIS

As I wrote before, you can download monthly climate data layers (rainfall, mean minimum and maximum temperature of the coldest and warmest month respectively) from WorldClim for current and future climate conditions. The latter can only be downloaded in generic … Continue reading

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

ESRI rasters in GRASS or QGIS

To exchange data one should preferably use a non-proprietary format, such as the ARC/INFO ASCII GRID or GeoTIFF. Unfortunately, it still happens that data is distributed in a proprietary binary format. One of the most widely used ones is the … Continue reading

Posted in Data handling, GIS, GIS software, GRASS GIS | Tagged , , , , , | Leave a comment

Sharing libraries in Zotero

A good reference management software can make the life of a researcher much easier. There are many different software available, including various free or open-source software applications. My favorite tool is Zotero, which is a Firefox extension for the collection, … Continue reading

Posted in Data handling, research tools | Tagged , , , | Leave a comment

Accessing your file system from within R

R includes some powerful yet easy to use functions that provide a direct interface to the computer’s file system. In the example below I use two of these functions (file.info and file.copy) to copy a random selection of the songs on … Continue reading

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

Creating an image of a fern leaf in R

I came across this nice fractal image of a fern leaf on this website. There is also an explanation of the method to create such an image. It looked easy enough so I tried to apply this in R. Below … Continue reading

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

Build in functions in R

Almost everything in R is done through functions. Quick-R gives a very useful overview of commonly used numeric and character functions for creating or recoding variables. And while you are at it, check out the rest of the website. It … Continue reading

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