Blog Archives

Using R.Net in an Excel Add in

May 31, 2012
By

I thought I’d try out R.net and in doing so I have put together a very simple Excel 2007 add in that connects Excel to R. I’m using .Net 4.0 in Visual Studio 2010 pro with the latest commit of R.Net, … Continue reading →

Read more »

Ggplot2 notes part 2

April 12, 2012
By

Here is part 2 of my guide to using ggplot2. Scales Following on directly from the previous notes you can manually adjust the colours and shapes used in the chart if you don’t like the defaults, as shown in figure 1. … Continue reading &#8...

Read more »

Ggplot2 Notes

March 6, 2012
By

During the time I have used R the base graphics package has met my needs, although I have been aware of ggplot2 but found learning it a bit of a struggle so have pretty much ignored it until now. Most … Continue reading →

Read more »

Landscape figures in Sweave

November 15, 2011
By

This post is a quick follow up from my initial article on Sweave to add a note on how to get a plot in landscape orientation to fill the whole page, plus a little example of using BibTex.Just to clarify  my … Continue reading →

Read more »

Using Sweave

October 8, 2011
By

If you use R and haven’t discovered Sweave then go and find out about it. It enables R code and plots to be incorporated into a document so the analysis and report can be combined together in a single document. … Continue reading →

Read more »

Connect JAVA to R part 2

September 29, 2011
By

To follow on from the earlier post on using R through Java, it is even easier to get jri up and running as a NetBeans module. Why is this useful? Well the platform that the NetBeans IDE is built on … Continue reading →

Read more »

Using jri to connect JAVA to R

September 19, 2011
By

The R package rJava allows R to be accessed in Java programs. The part of the package that allows this is jri. The notes on the rJava site about getting jri to work didn’t help me much getting it to … Continue reading →

Read more »