[R] RPostgreSQL, RS-DBI error
Tomas Lanczos
lanczos at fns.uniba.sk
Thu Jul 3 16:49:05 CEST 2014
Hello all,
I have a problem with the connection to a Postgresql database in R.
At first, some system information:
Fedora 2.0,
R 3.1.0 compiled from source,
Postgresql 9.2
I installed the RPostgreSQL package in R with all the dependencies
also.
When I'm trying to connect to the database using the following commands:
library(DBI)
library(RPostgreSQL)
drv <- dbDriver("PostgreSQL")
con <- dbConnect(drv,
dbname="Litava",host="localhost",port=1234,user="postgres",password="****")
I'm getting an error message:
ERROR:
RS-DBI driver
with no other error specification. Do have somebody an idea could be
wrong with this?
Thank You in advance for any advice
Tomas
--
Tomáš Lánczos, PhD
Dept. Gechemistry
Commenius University
Mlynská dolina G-235
842 15
Bratislava
More information about the R-help
mailing list