[R-sig-DB] Error in connecting R to Postgre

krisan haria kr|@@nh@r|@ @end|ng |rom gm@||@com
Mon Sep 9 13:02:18 CEST 2013


Hi

I have the following version of R installed

R version 3.0.0

I'm trying to connect this to PostGre Version 1.16.1

I have loaded the package RPostgreSQL

I have then tried to run the following

> drv <- dbDriver("PostgreSQL")
> drv
<PostgreSQLDriver:(8568)>
> con <- dbConnect(drv, dbname="postgres")
Error in postgresqlNewConnection(drv, ...) :
  RS-DBI driver: (could not connect PLAYER using local on dbname "postgres"
)

Any idea on what is causing this error?

-- 
Dr. Krisan Haria

	[[alternative HTML version deleted]]




More information about the R-sig-DB mailing list