Monthly Archives: February 2011

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 , , , , | 3 Comments

Using the GRASS command g.mlist in R

In this post I was trying to find a way to get a list of GRASS data layers in R. The problem is running the GRASS function ‘g.list’ from R (using system or execGRASS from the spgrass6 package) gives a … Continue reading

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

Using the GRASS command g.list in R

Running grass commands within R is easy using either the system function or the spgrass6 package. But sometimes the GRASS outputs are not easy to read into a data frame or vector. For example, what if you want a vector … Continue reading

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

A concatenate function on steroids for OpenOffice calc

In OpenOffice / LibreOffice Calc, you would normally use CONCATENATE to combine strings from different cells, like in the example below:

Posted in Data handling, LibreOffice / OpenOffice | Tagged , , | 8 Comments

Finding the code for a ‘hidden’ function in R

If you want to understand what a certain function is doing, or you want to adapt it, you can type in the function without bracket on the command line. However, sometimes functions are ‘hidden’.

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