RToolkit


R Toolkit


Summary of topic

 

R is a free statistical software package. It may be of use to actuaries as it provides free cutting-edge statistical tools for data analysis and visualisation. This page discusses R and provides some educational resources.

 

Those working on the topic

 

Nigel De Silva - nigel.desilva at thomasmiller dot com

Trevor Maynard - trevor.maynard at lloyds dot com

Markus Gesmann - Markus.Gesmann at lloyds dot com


 

Getting started

 

R is a free, integrated suite of software facilities for data manipulation, calculation and graphical display. Most people simply use it as a statistics package.

 

R is available from the R Project website.

 

We created a little video, showing how to install R and all the tools required to build your own package, see here.


 

Education

 

There are many good introductory texts and tutorials for R. Some of these are available through the R Project website, others may be found via Google or Del.icio.us

 

We presented a Poster at GIRO 2006 in Vienna to give a brief overview on R in isurance and reserving.

 

Here is a series of R examples for actuaries. The aim is to introduce actuaries to R’s capabilities and to provide simple examples of various techniques which might prove useful in actuarial work. The series starts with a very brief introduction to R. I would welcome comments, reviews, corrections, etc. for this series. In particular, I would be interested in suggestions for new examples.


 

Data Visualisation

 

This wiki contains a separate page on this topic


 

Packages

 

To get the most out of R you are likely to want to install some of the many packages that are available. You are also likely to want to install the following excel addin.

 

You might have problems getting past your proxy, if you do we suggest that you set up a batch file ("R.bat", say) using a text editor. The file should contain the following text:

 

REM Set the PATH to the folder were you installed R

PATH=C:\Program Files\R\R-2.8.0\bin

REM Now start R with the windows START command

START Rgui --internet2

 

Run this batch file to start R and hopefully you will be able to install packages directly through the R menu.

 

Some useful packages include:

 


 

R Souls

 

R Souls is an R user group, based at Lloyds. This page contains details of the group's discussions


 

Tips

 


 

Comments

 

If you would like to comment please update this wiki page in the comments section; if appropriate these will be merged in with the main text in due course. Alternatively you can discuss this page via the "Discuss" tab at the top

 

Add your comments here: