Rstudio is unable to load Library ORE. I get following error
( I have used all install steps described in Oracle® R Enterprise , User's Guide Release 11.2 for Linux, Solaris, AIX, and Windows
E26499-05. Any help is appreciated.)
Loading required package: OREbase
Loading required package: ROracle
Loading required package: DBI
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/usr/lib64/R/library/ROracle/libs/ROracle.so':
libclntsh.so.11.1: cannot open shared object file: No such file or directory
Error: package 'ROracle' could not be loaded
Follow these steps to install RStudio Server for use with Oracle R Enterprise:
Create configuration files rserver.conf and .Renviron so necessary environment variables are recognized in the RStudio environment.
sudo vi /etc/rstudio/server.conf
A typical value for R_HOME is /usr/lib64/R/lib; a typical value for ORACLE_HOME is /u01/app/oracle/product/11.2.0/dbhome_1/lib.
Include ORACLE_HOME, ORACLE_HOSTNAME, ORACLE_SID in .Renviron using the bash shell:
sudo vi .Renviron