The main documentation is available via module help math/R on the cluster. Most software modules for applications provide working example batch scripts.
module help math/R