I looked everywhere and followed the exact instructions provided, but run into this error when I load the library on my Windows 7 machine:
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'C:/Program Files/R/R-3.2.3/library/ROracle/libs/x64/ROracle.dll':
LoadLibrary failure: %1 is not a valid Win32 application.
Error: package or namespace load failed for ‘ROracle’
Here is my R version:
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 2.3
year 2015
month 12
day 10
svn rev 69752
language R
version.string R version 3.2.3 (2015-12-10)
nickname Wooden Christmas-Tree
I downloaded the ROracle binary for Windows from this page: http://www.oracle.com/technetwork/database/database-technologies/r/roracle/downloads/index.html
I used the ROracle 1.2-1 version.
My OCI_LIB64 and PATH environmental variables are as follows:
OCL_LIB64=C:\Oracle\product\11.2.0\client_1\bin
PATH:C:\Oracle\product\11.2.0\client_1;C:\Oracle\product\11.2.0\client_1\bin
Anything else I am missing? How can I get this to work?
I have administrator rights to all the folders, including the library paths.