Promising new front end for R “RStudio”

I just installed this program, and did a test run. Looks great for beta software. Replaces the whole R GUI. I am especially interested in Sweave support that is rather flaky in Tinn-R or requires a lot of setting changes in WinEdt. I will write again after some more testing. It is available for download at http://rstudio.org/ where there is also some documentation.

Some new R stuff

Because I have some plans for an R course in Moodle, and also because I need to do some plots, I looked around in the web to see if there was something new. I found quite a lot, at least new to me. One is the package ggplot2 that may be easier to use than lattice and produces graphs with a different look.

The author is Had Wickman.

An example:

# load package
library(ggplot2)
# generate some artificial data
x=1:100
y2=x^2/100+rnorm(100)*5
# create a plot
qplot(x,y2,geom=c("smooth","point"))
qplot(x,y2,geom=c("smooth","point"))

Here are some links:

ggplot2 the home page for the package with links to videos, slides, etc. The package itself is in CRAN.

The author‘s PhD thesis

Some slides.

He has also written a book on ggplot2.

He has written other interesting packages but I’ll write about them later.