[R-sig-DB] Compiling RPostgreSQL on Ubuntu?

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Thu Oct 30 12:14:45 CET 2008


On 30 October 2008 at 02:50, Prasenjit Kapat wrote:
| I am looking for some instructions on compiling the source package on
| a Ubuntu 8.04 machine with R 2.7.1.

No different than 
1)  Install the Postgresql header files:
	
	sudo apt-get install libpq-dev   

    This is always the same: if you want to build against a certain 
    feature or library, you need the corresponding -dev package. 

2)  Install the RPostgresql package, either via install.packages() from 
    inside R (but you may need to start R via sudo), or using 

        sudo R CMD INSTALL RPostgresql_0.1-1.tar.gz

    if you downloaded sources.

Hope this helps,  Dirk

-- 
Three out of two people have difficulties with fractions.




More information about the R-sig-DB mailing list