We're installing packages onto our new cluster, one of which is R, a commonly used statitical science package. There are various flavours, and currently we have R 2.5.2 installed, however this is without any special libraries. Until we have a common deployment suite users wishing to run R with MPI can install the R tarball in their local folders and then from within R run:
install.packages("Rmpi")
install.packages("doMPI", dependencies = TRUE)
If using R with the parallel libraries such as doMPI, use should be made of mpirun as per standard parallel jobs:
mpirun -machinefile ${PBS_NODEFILE} <executable> <arguments and files>