I am attempting to install the ROracle package in RStudio so that I may connect R to my Oracle databases. I downloaded the zip file but when I run
remotes::install_local("ROracle_1.3-2.tar.gz", repos = NULL, type = "source")
I get an error :
ERROR: cannot find Oracle Client. Please set OCI_LIB64 to specify its location.
I do have Oracle Client installed on my PC. This may be an obvious answer, but my question is, how do I set OCI_LIB64 to recognize Oracle CLient's location on my PC. I am running on windows 10 and R version 4.1.3.
Have a look at the installation guide. It has the following steps for windows: