[R] Re: PostgreSQL package

Douglas Bates bates at stat.wisc.edu
Wed Dec 22 00:47:06 CET 1999


"Timothy H. Keitt" <keitt at nceas.ucsb.edu> writes:

> Version 0.2 is now available at
> 
>     http://www.nceas.ucsb.edu/~keitt/R/
> 
> This version includes a user extensible type conversion system.  By
> defining three functions, you can now store and retrieve arbitrary data
> types in PostgreSQL tables.  Enjoy.

Thanks for making that available, Timothy.

I found when I installed it that I had to change the Makefile in the
src directory.  On my system (Debian GNU/Linux 2.1) the include files
from the postgresql-dev package are installed in
/usr/include/postgresql.  I needed to add
		      -I/usr/include/postgresql
to the compiler command in src/Makefile and change the include
statement in src/rpgsql.c to

#include "libpq-fe.h"

I'll check with Kurt Hornik, our autoconf/Makefile guru, to see if
there is a clean way of specifying the Makefile.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list