Revised the abstractions for interacting with R-Project.