The documentation for the R interface can be found here.