RPostgreSQL
packages. It's a postgres database on Amazon AWS (not redshift).library(RPostgreSQL)
drv <- dbDriver("PostgreSQL")
con <- dbConnect(drv,
host='<host>',
port='5432',
dbname='<dbname>',
user='<username>',
password='<password>')
Error in postgresqlNewConnection(drv, ...) :
RS-DBI driver: (could not connect <username>@<host> on dbname "<dbname>"
)
Does installing the latest RPostgreSQL
(v.0.5-2) from GitHub help?
devtools::install_github("tomoakin/RPostgreSQL", subdir="RPostgreSQL")
- I'm using a Mac (OS X 10.11.5 (El Capitan)) -
- R version 3.3.1
- RPostgreSQL_0.4-1
- DBI_0.4-1
--
You received this message because you are subscribed to the Google Groups "RPostgreSQL Development and Discussion List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rpostgresql-d...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I had the same problem, try:
devtools::install_github("tomoakin/RPostgreSQL", subdir="RPostgreSQL")
On 11 Aug 2016, at 3:09, Jenny Hutchison wrote:
I am having the same problem with my connection to my postgres databases
(and continue to connect just fine through other means, it most definitely
is my upgrading R and its packages yesterday that broke this!). When I try
to use install RPostgreSQL using devtools as described, I get a different
error:Downloading GitHub repo tomoakin/RPostgreSQL@master
from URL https://api.github.com/repos/tomoakin/RPostgreSQL/zipball/master
Error: Does not appear to be an R package (no DESCRIPTION)[I already have postgres running locally; it, too, is behaving perfectly]
On Tuesday, 12 July 2016 03:14:54 UTC+10, Ian Gow wrote:
Does installing the latest RPostgreSQL (v.0.5-2) from GitHub help?
devtools::install_github("tomoakin/RPostgreSQL", subdir="RPostgreSQL")
email to rpostgresql-d...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "RPostgreSQL Development and Discussion List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rpostgresql-dev/TyoIlrlxpm4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rpostgresql-dev+unsubscribe@googlegroups.com.
checking for pg_config... /opt/local/bin/pg_config
devtools::install_github("tomoakin/RPostgreSQL", subdir="RPostgreSQL")