R PostgreSQL integration

Outline for R PostgreSQL integration