link on conecting R to PostgreSQL

Submitted by aleswa on Tue, 2008-08-19 23:49.

http://grass.itc.it/statsgrass/r_and_dbms.html

don't forget

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

because for some reason 'could not find your PostgreSQL client libraries', so set PG_LIB_DIR in your environment to the library path. That's what you are doing.

( categories: )

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <div> <img> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.