I have a problem with a tool in R. I can't load the RPostgreSQL library that I get the following error:

ERROR: carregando pacotes exigidos: dbi

My xml is this:

<command interpreter="bash">r_wrapper.sh $script_file</command>

<configfiles>
<configfile name="script_file">
library(RPostgreSQL)
...
</configfile>
</configfiles>

I have this library installed at my system, what can I do?