Added abstraction to interact with r-project.

Added basic abstractions to interface with r-project.