Added R as a dependency