An R to SQL interface