I tried to install ROracle today, after having managed to install RPostgreSQL and RMySQL on my Mac OS X. Unfortunately, the Oracle website drives me crazy. I just cannot figure out which minimum package I need to install in order to use ROracle. Intuitively I thought I just need a client and downloaded the instant client.
Is this enough? Where should I put the unzipped instant client?
I also tried SQLDeveloper but my setup seems lack some Oracle installation seems still.
If I start compiling anyway:
R CMD INSTALL Roracle.tar.gz
I end up with the following error:
You must set the shell variable ORACLE_HOME to the
directory where Oracle resides and re-run R CMD INSTALL
e.g., (using Bourne shell syntax):
export ORACLE_HOME=/opt/oracle
R CMD INSTALL ROracle
So my simple question is, which package do I need to install and which location do you recommend? Setting up the compiler is not the problem here (at least so far :) )
Note I just want to connect to some database which is NOT on my system, so I really should just need a client (if ROracle allows for that).
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…