Expand the R-API a bit and add a couple of demo plotting scripts.
Also ignore vim swap files in R directory.