Monthly Archives: June 2012

Use IUCN API with R & XPath

June 28, 2012
By
Use IUCN API with R & XPath

Thanks to a posting on R-sig-eco mailing list I learned of the IUCN-API. Here's a simple example for what can be done with it (output as pdf is HERE):require(XML)require(maptools)require(jpeg)input = "panthera-uncia"h <- htmlParse(paste("http://api....

Read more »

Big Data Generalized Linear Models with Revolution R Enterprise

June 28, 2012
By
Big Data Generalized Linear Models with Revolution R Enterprise

R''s glm function for generalized linear modeling is very powerful and flexible: it supports all of the standard model types (binomial/logistic, Gamma, Poisson, etc.) and in fact you can fit any distribution in the exponential family (with the family argument). But if you want to use it on a data set with millions or rows, and especially with more...

Read more »

Preparing Spectrum to import into "ChemoSpec"

June 28, 2012
By
Preparing Spectrum to import into "ChemoSpec"

In this video I show I to prepare a spectrum to import later into ChemoSpec:The software I use gives the option to export the spectrum as a TXT file.This file is open with Excel and saved as CSV, to import later with others into ChemoSpec.

Read more »

Updating R but keeping your installed packages

June 28, 2012
By

This is probably an issue that has been addressed by many blog posts (including these ones: and ), and can be deduced from R Installation and Administration manual. However, I will post it here for future reference. The problem is that w...

Read more »

Two tips: adding title for graph with multiple plots; add significance asterix onto a boxplot

June 28, 2012
By
Two tips: adding title for graph with multiple plots; add significance asterix onto a boxplot

I've not added tips for a while. Here is it for today:1. How to add title for graph with multiple plots?par(mfrow=c(1,2),oma = c(0, 0, 2, 0))plot(1:10,  main="Plot 1")plot(1:100,  main="Plot 2")mtext("Title for Two Plots", outer = TRUE, cex =...

Read more »

When SAP HANA met R – Bring home your graphics

When SAP HANA met R – Bring home your graphics

A couple of days ago, I started to think about SAP HANA and R on Amazon Web Services...as far as I know, graphics can't get generated using this kind of integration because the graphic will get generated on the server and could not make the trip back i...

Read more »

Reminder: Next Kölner R User Meeting 6 July 2012

June 27, 2012
By
Reminder: Next Kölner R User Meeting 6 July 2012

This post is a quick reminder that the next Cologne R user group meeting is only one week away. We will meet on 6 July 2012. The meeting will kick off at 18:00 with three short talks at the Institute of Sociology and will continue, even more informal, ...

Read more »

How do I Create the Identity Matrix in R?

June 27, 2012
By
How do I Create the Identity Matrix in R?

I googled for this once upon a time and nothing came up. Hopefully this saves someone ten minutes of digging about in the documentation. You make identity matrices with the keyword diag, and the number of dimensions in parentheses. > diag(3) [,...

Read more »

Orbitz and the Macs: Signals, not segmentation

June 27, 2012
By

By now you've probably heard about the fact that Orbitz users accessing the site via Macs are seeing more expensive hotel options when they search. But it seems worth clearing up a couple of fallacies. First, it's not as if the same hotel room is being offered at a higher prices to Mac users. (So no, using Windows to...

Read more »

Sleep – Part II

June 27, 2012
By
Sleep – Part II

Still gettin' it? I'm off to Montreal for Jazzfest.

Read more »