Blog Archives

Using the SVD to find the needle in the haystack

April 19, 2013
By
Using the SVD to find the needle in the haystack

Sitting with a data set with too many variables? The SVD can be a valuable...

Read more »

Exporting plain, lattice, or ggplot graphics

March 6, 2013
By
Exporting plain, lattice, or ggplot graphics

A blend between a basic scatterplot, lattice scatterplot and a ggplot In a recent post I compared the Cairo packages with the base package for exporting graphs. Matt Neilson was kind enough to share in...

Read more »

Exporting nice plots in R

February 25, 2013
By
Exporting nice plots in R

It's not always easy getting the right size. The image is CC by Kristina Gill. A vital part of statistics is producing nice plots, an area where R is outstanding. The graphical ablility of R...

Read more »

Tables from R into Word

February 5, 2013
By
Tables from R into Word

A good looking table matters! This tutorial is on how to create a neat table in Word by combining knitr and R Markdown. I'll be using my own function, htmlTable, from the Gmisc package. Background: Because most journals that I submit to want...

Read more »

Chocolate and nobel prize – a true story?

December 22, 2012
By
Chocolate and nobel prize – a true story?

Few of us can resist chocolate, but the real question is: should we even try to resist it? The image is CC by Tasumi1968. As a dark chocolate addict I was relieved to see Messerli's ecological study on chocolate consumption and the...

Read more »

Personal CRAN-repository

November 24, 2012
By
Personal CRAN-repository

Offering - the backbone of open source. The image is CC by TenthMusePhotography This is part II of the previous package creation post. I've created my own CRAN repository since I wanted a quick upload. Perhaps in the future I'll post on the main server but right now...

Read more »

Creating an R package in Windows

November 21, 2012
By
Creating an R package in Windows

A nice package can be both beautiful and functional. The image is CC by MIAD Communication Design. Inspired by Read more »

Getting started with Sweave & knitr

August 6, 2012
By
Getting started with Sweave & knitr

Cool woven artwork on the campus of Kansas University. The image is CC by Patrick Emerson I recently started to work with Sweave (by Friedrich Leisch)...

Read more »

My two favorite IDE’s for R – tips & tricks

May 20, 2012
By
My two favorite IDE’s for R – tips & tricks

The two IDE that I use for R are RStudio and Eclipse with StatET. They complement each other nicely, RStudio works out of the box while I previously shown how to get Eclipse & StatET going, you can find it here, which is slightly challanging. RStudio I use RStudio for all my statistics where I don't want to create...

Read more »

Setting up StatET & Eclipse in Windows

May 15, 2012
By
Setting up StatET & Eclipse in Windows

A view of the StatET plugin in the Juno Eclipse. The environment is perfect for developing R packages and creating more complex functions. I wanted to write about creating R-packages in Windows but after trying to get StatET to work seamlessly...

Read more »