You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RPostgres appears to require Homebrew installation on OS X #22
I attempted to give RPostgres a try, but after attempting to install all sorts of things from Homebrew, the installation gave up and suggested I uninstall MacPorts. Most of the things RPostgres was attempting to install were already present on my system.
Demand for RPostgres may increase in near future due to uncertain status of RPostgreSQL, a package that simply works for me (though compilation has become patchy with recent versions of R on OS X).
Sure. I’m using a “Mavericks” build of R from CRAN and PostgreSQL from MacPorts.
Last login: Sun Mar 15 21:40:31 2015 from 192.168.2.3
Mac-Pro:~ igow$ R
R version 3.1.3 (2015-03-09) -- "Smooth Sidewalk"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.4.0 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
Yes. This works on Mac OS X with a MacPorts installation of PostgreSQL 9.4 (also with another installation with PostgreSQL 9.5.1).
In one case I got an error that prevented installation (message contained namespace ‘DBI’ 0.3.1 is being loaded, but >= 0.3.1.9008 is required), but this was easily fixed with devtools::install_github("rstats-db/DBI") (does it make sense to handle this dependency automatically?).
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
Activity
hadley commentedon Mar 16, 2015
Can you please show the output of running
system("pg_config")?(Most of these compilation problems will go away once the package is on CRAN, but we would like to make the configuration a bit more robust)
iangow commentedon Mar 16, 2015
Sure. I’m using a “Mavericks” build of R from CRAN and PostgreSQL from MacPorts.
Last login: Sun Mar 15 21:40:31 2015 from 192.168.2.3
Mac-Pro:~ igow$ R
R version 3.1.3 (2015-03-09) -- "Smooth Sidewalk"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.4.0 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
krlmlr commentedon Feb 29, 2016
Does @mmuurr's pull request #81 work for you?
iangow commentedon Mar 1, 2016
Yes. This works on Mac OS X with a MacPorts installation of PostgreSQL 9.4 (also with another installation with PostgreSQL 9.5.1).
In one case I got an error that prevented installation (message contained
namespace ‘DBI’ 0.3.1 is being loaded, but >= 0.3.1.9008 is required), but this was easily fixed withdevtools::install_github("rstats-db/DBI")(does it make sense to handle this dependency automatically?).krlmlr commentedon Mar 1, 2016
Thanks for confirming it.
cilindrox commentedon Oct 4, 2016
Confirming this works on Docker, too.
devtools::install_github("rstats-db/RPostgres")fails (nolibpqbinary found)devtools::install_github("rstats-db/RPostgres#81")nets a successful installation.github-actions commentedon Dec 9, 2020
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.