Problem
You want to use the PL/R extension in PostgreSQL, and after the package installation you need to set up the R_HOME in PostgresQL.
Solution
Add the following line to the bottom of your PostgreSQL configuration file as sudo:
1 |
sudo vi /etc/postgresql/9.3/main/postgresql.conf |
1 |
R_HOME=/usr/bin/R |