[R] RPgSQL installation problem

Rainer Hurling rhurlin at gwdg.de
Sat Oct 24 09:47:08 CEST 2009


On 20.10.2009 09:35 (UTC+2), christiaan pauw wrote:
> Hi everybody
> I am trying to install RPsSQL and get the following error message:

As far as I know package RPgSQL is outdated. The newer package 
RPostgreSQL works with R-2.9.0 and greater. So it seems to be a good 
time to update your R version. In a few days R-2.10.0 is coming out ...

> When I do ./configure form the untarred source directory I get
> 
> loading cache ./config.cache
> checking for crypt in -lcrypt... no
> No crypt function found
> 
> When I use the Package installer in R I get
> 
> install.packages("/Users/christiaanpauw/tmp/RPgSQL/", , NULL, type =
> "source")
> Warning in install.packages("/Users/christiaanpauw/tmp/RPgSQL/", , NULL,  :
>   argument 'lib' is missing: using
> '/Users/christiaanpauw/Library/R/2.8/library'
> * Installing *source* package 'RPgSQL' ...
> creating cache ./config.cache
> checking for crypt in -lcrypt... no
> No crypt function found
> 
> I have a threefold question
> 
> What is the crypt function, do I need it for the installation to work and if
> so where do I get it?

The crypt function belongs to a system library 'libcrypt'. Depending on 
your system (linux?) it should be installed already. If not, you have to 
install it (outside of R, it is a system function).

> Thanks in advance
> Christiaan

Hope this helps,
Rainer




More information about the R-help mailing list