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
解决办法,LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib64/R/lib:$LD_LIBRARY_PATH