[R-sig-DB] PostgreSQL

Tom Dye t@d @end|ng |rom t@dye@com
Mon Sep 5 20:33:21 CEST 2005


Aloha All,

What is the best way to connect R and PostgreSQL?  Documentation for 
the DBI package (in its various forms) suggests:

p <- dbDriver("PgSQL")
p <- dbDriver("RPgSQL")
p <- dbDriver("PostgreSQL")

none of which appear to work.

A post here last year notes that a PostgreSQL driver wasn't then written 
for DBI and gives a solution using Rdbi and Rdbi.Pgsql, but I couldn't 
find Rdbi in the packages on CRAN.  I'm stumped.

Any help will be much appreciated.

Tom

Thomas S. Dye, Ph.D. 
T. S. Dye & Colleagues, Archaeologists, Inc. 
735 Bishop Street, Suite 315
Honolulu, Hawai`i 96813 
Voice (808) 387-9352 
Fax (808) 529-0884
http://www.tsdye.com




More information about the R-sig-DB mailing list