Method version() to get the version of R
Versioning change for compatibility with R 2