Skip to content
Prev 146 / 1559 Next

PostgreSQL

On Sep 6, 2005, at 12:53 AM, Tom Dye wrote:

            
I have not installed this on my mac in a while, but my guess is that  
while these variables are set in you environment, they are not  
available in R for some reason.

You could check whether they are set in the session by looking at  
Sys.getenv()

If they are not there, I would try setting them directly in your R  
session before installing.  I think you would do that with:

Sys.setenv("PG_LIB_DIR"="/usr/local/pgsql/lib")
Sys.setenv("PG_INCLUDE_DIR"="/usr/local/pgsql/include")

But I could be off on whether the variable names need to be quoted.

Jim