How to install ROracle package on Windows 7?ERROR: dependency 'ROracle' is not available for package 'ora'How to install ROracle package?ROracle installUnable to connect to Oracle with ROracle packageHomebrew install specific version of formula?How do I install pip on Windows?How to make a great R reproducible exampleError while installing Roracle package in Windows 32-bitError while installing RSelenium in Rhow to install r package for oracle on windows 10 64 bitNot able to use tidyverse package after installing itFailed to install package “rfm”problems with rscala download
I would say: "You are another teacher", but she is a woman and I am a man
Emailing HOD to enhance faculty application
Today is the Center
Can one be a co-translator of a book, if he does not know the language that the book is translated into?
How is it possible to have an ability score that is less than 3?
When a company launches a new product do they "come out" with a new product or do they "come up" with a new product?
How much of data wrangling is a data scientist's job?
What mechanic is there to disable a threat instead of killing it?
90's TV series where a boy goes to another dimension through portal near power lines
Forgetting the musical notes while performing in concert
A reference to a well-known characterization of scattered compact spaces
How to draw the figure with four pentagons?
Why is Collection not simply treated as Collection<?>
How can I make my BBEG immortal short of making them a Lich or Vampire?
Why does Arabsat 6A need a Falcon Heavy to launch
Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?
Theorems that impeded progress
How could indestructible materials be used in power generation?
What reasons are there for a Capitalist to oppose a 100% inheritance tax?
How do conventional missiles fly?
Anagram holiday
1960's book about a plague that kills all white people
How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?
Why doesn't H₄O²⁺ exist?
How to install ROracle package on Windows 7?
ERROR: dependency 'ROracle' is not available for package 'ora'How to install ROracle package?ROracle installUnable to connect to Oracle with ROracle packageHomebrew install specific version of formula?How do I install pip on Windows?How to make a great R reproducible exampleError while installing Roracle package in Windows 32-bitError while installing RSelenium in Rhow to install r package for oracle on windows 10 64 bitNot able to use tidyverse package after installing itFailed to install package “rfm”problems with rscala download
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I'm trying to install ROracle package on my Windows 7 client. I have Oracle Instant client and Rtools installed, DBI package is istalled, OCI32_LIB environmental variable has been set. But when I try to install from command line:
C:Temp>R CMD INSTALL --build ROracle_1.1-10.tar.gz
* installing to library 'C:/Users/myaccount/Documents/R/win-library/3.0'
* installing *source* package 'ROracle' ...
** package 'ROracle' successfully unpacked and MD5 sums checked
ERROR: configuration failed for package 'ROracle'
* removing 'C:/Users/myaccount/Documents/R/win-library/3.0/ROracle'
C:Temp>
When I try to install from source:
> install.packages("ROracle",type = "source")
Warning in install.packages :
package ‘ROracle’ is not available (for R version 3.0.0)
Installing package into ‘C:/Users/myaccount/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
trying URL 'http://cran.at.r-project.org/src/contrib/ROracle_1.1-10.tar.gz'
Content type 'application/x-gzip' length 168193 bytes (164 Kb)
opened URL
downloaded 164 Kb
* installing *source* package 'ROracle' ...
** package 'ROracle' successfully unpacked and MD5 sums checked
ERROR: configuration failed for package 'ROracle'
* removing 'C:/Users/myaccount/Documents/R/win-library/3.0/ROracle'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-30~1.0/bin/i386/R" CMD INSTALL -l "C:UsersmyaccountDocumentsRwin-library3.0" C:UsersmyaccountAppDataLocalTempRtmpGggbyp/downloaded_packages/ROracle_1.1-10.tar.gz' had status 1
Warning in install.packages :
installation of package ‘ROracle’ had non-zero exit status
The downloaded source packages are in
‘C:UsersmyaccountAppDataLocalTempRtmpGggbypdownloaded_packages’
What should I do, how to proceed?
r oracle installation
add a comment |
I'm trying to install ROracle package on my Windows 7 client. I have Oracle Instant client and Rtools installed, DBI package is istalled, OCI32_LIB environmental variable has been set. But when I try to install from command line:
C:Temp>R CMD INSTALL --build ROracle_1.1-10.tar.gz
* installing to library 'C:/Users/myaccount/Documents/R/win-library/3.0'
* installing *source* package 'ROracle' ...
** package 'ROracle' successfully unpacked and MD5 sums checked
ERROR: configuration failed for package 'ROracle'
* removing 'C:/Users/myaccount/Documents/R/win-library/3.0/ROracle'
C:Temp>
When I try to install from source:
> install.packages("ROracle",type = "source")
Warning in install.packages :
package ‘ROracle’ is not available (for R version 3.0.0)
Installing package into ‘C:/Users/myaccount/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
trying URL 'http://cran.at.r-project.org/src/contrib/ROracle_1.1-10.tar.gz'
Content type 'application/x-gzip' length 168193 bytes (164 Kb)
opened URL
downloaded 164 Kb
* installing *source* package 'ROracle' ...
** package 'ROracle' successfully unpacked and MD5 sums checked
ERROR: configuration failed for package 'ROracle'
* removing 'C:/Users/myaccount/Documents/R/win-library/3.0/ROracle'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-30~1.0/bin/i386/R" CMD INSTALL -l "C:UsersmyaccountDocumentsRwin-library3.0" C:UsersmyaccountAppDataLocalTempRtmpGggbyp/downloaded_packages/ROracle_1.1-10.tar.gz' had status 1
Warning in install.packages :
installation of package ‘ROracle’ had non-zero exit status
The downloaded source packages are in
‘C:UsersmyaccountAppDataLocalTempRtmpGggbypdownloaded_packages’
What should I do, how to proceed?
r oracle installation
3
I didn't have any trouble installing ROracle on windows 7. I've got both db and client 10g installed. Looks like you set the appropriate variables so try to install from the source and maybe we will get a more informative error messageinstall.packages("ROracle",type = "source")
.
– haki
Aug 5 '13 at 5:56
Thanks, I also tried to install from source, but I got the same error message.
– Matkrupp
Aug 5 '13 at 10:07
can you fund some kind of log file or dump file in the folder ?
– haki
Aug 5 '13 at 11:48
No, I think it deletes these files, also recycle bin is empty.
– Matkrupp
Aug 5 '13 at 14:07
add a comment |
I'm trying to install ROracle package on my Windows 7 client. I have Oracle Instant client and Rtools installed, DBI package is istalled, OCI32_LIB environmental variable has been set. But when I try to install from command line:
C:Temp>R CMD INSTALL --build ROracle_1.1-10.tar.gz
* installing to library 'C:/Users/myaccount/Documents/R/win-library/3.0'
* installing *source* package 'ROracle' ...
** package 'ROracle' successfully unpacked and MD5 sums checked
ERROR: configuration failed for package 'ROracle'
* removing 'C:/Users/myaccount/Documents/R/win-library/3.0/ROracle'
C:Temp>
When I try to install from source:
> install.packages("ROracle",type = "source")
Warning in install.packages :
package ‘ROracle’ is not available (for R version 3.0.0)
Installing package into ‘C:/Users/myaccount/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
trying URL 'http://cran.at.r-project.org/src/contrib/ROracle_1.1-10.tar.gz'
Content type 'application/x-gzip' length 168193 bytes (164 Kb)
opened URL
downloaded 164 Kb
* installing *source* package 'ROracle' ...
** package 'ROracle' successfully unpacked and MD5 sums checked
ERROR: configuration failed for package 'ROracle'
* removing 'C:/Users/myaccount/Documents/R/win-library/3.0/ROracle'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-30~1.0/bin/i386/R" CMD INSTALL -l "C:UsersmyaccountDocumentsRwin-library3.0" C:UsersmyaccountAppDataLocalTempRtmpGggbyp/downloaded_packages/ROracle_1.1-10.tar.gz' had status 1
Warning in install.packages :
installation of package ‘ROracle’ had non-zero exit status
The downloaded source packages are in
‘C:UsersmyaccountAppDataLocalTempRtmpGggbypdownloaded_packages’
What should I do, how to proceed?
r oracle installation
I'm trying to install ROracle package on my Windows 7 client. I have Oracle Instant client and Rtools installed, DBI package is istalled, OCI32_LIB environmental variable has been set. But when I try to install from command line:
C:Temp>R CMD INSTALL --build ROracle_1.1-10.tar.gz
* installing to library 'C:/Users/myaccount/Documents/R/win-library/3.0'
* installing *source* package 'ROracle' ...
** package 'ROracle' successfully unpacked and MD5 sums checked
ERROR: configuration failed for package 'ROracle'
* removing 'C:/Users/myaccount/Documents/R/win-library/3.0/ROracle'
C:Temp>
When I try to install from source:
> install.packages("ROracle",type = "source")
Warning in install.packages :
package ‘ROracle’ is not available (for R version 3.0.0)
Installing package into ‘C:/Users/myaccount/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
trying URL 'http://cran.at.r-project.org/src/contrib/ROracle_1.1-10.tar.gz'
Content type 'application/x-gzip' length 168193 bytes (164 Kb)
opened URL
downloaded 164 Kb
* installing *source* package 'ROracle' ...
** package 'ROracle' successfully unpacked and MD5 sums checked
ERROR: configuration failed for package 'ROracle'
* removing 'C:/Users/myaccount/Documents/R/win-library/3.0/ROracle'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-30~1.0/bin/i386/R" CMD INSTALL -l "C:UsersmyaccountDocumentsRwin-library3.0" C:UsersmyaccountAppDataLocalTempRtmpGggbyp/downloaded_packages/ROracle_1.1-10.tar.gz' had status 1
Warning in install.packages :
installation of package ‘ROracle’ had non-zero exit status
The downloaded source packages are in
‘C:UsersmyaccountAppDataLocalTempRtmpGggbypdownloaded_packages’
What should I do, how to proceed?
r oracle installation
r oracle installation
edited Aug 5 '13 at 10:06
Matkrupp
asked Aug 4 '13 at 18:43
MatkruppMatkrupp
3362817
3362817
3
I didn't have any trouble installing ROracle on windows 7. I've got both db and client 10g installed. Looks like you set the appropriate variables so try to install from the source and maybe we will get a more informative error messageinstall.packages("ROracle",type = "source")
.
– haki
Aug 5 '13 at 5:56
Thanks, I also tried to install from source, but I got the same error message.
– Matkrupp
Aug 5 '13 at 10:07
can you fund some kind of log file or dump file in the folder ?
– haki
Aug 5 '13 at 11:48
No, I think it deletes these files, also recycle bin is empty.
– Matkrupp
Aug 5 '13 at 14:07
add a comment |
3
I didn't have any trouble installing ROracle on windows 7. I've got both db and client 10g installed. Looks like you set the appropriate variables so try to install from the source and maybe we will get a more informative error messageinstall.packages("ROracle",type = "source")
.
– haki
Aug 5 '13 at 5:56
Thanks, I also tried to install from source, but I got the same error message.
– Matkrupp
Aug 5 '13 at 10:07
can you fund some kind of log file or dump file in the folder ?
– haki
Aug 5 '13 at 11:48
No, I think it deletes these files, also recycle bin is empty.
– Matkrupp
Aug 5 '13 at 14:07
3
3
I didn't have any trouble installing ROracle on windows 7. I've got both db and client 10g installed. Looks like you set the appropriate variables so try to install from the source and maybe we will get a more informative error message
install.packages("ROracle",type = "source")
.– haki
Aug 5 '13 at 5:56
I didn't have any trouble installing ROracle on windows 7. I've got both db and client 10g installed. Looks like you set the appropriate variables so try to install from the source and maybe we will get a more informative error message
install.packages("ROracle",type = "source")
.– haki
Aug 5 '13 at 5:56
Thanks, I also tried to install from source, but I got the same error message.
– Matkrupp
Aug 5 '13 at 10:07
Thanks, I also tried to install from source, but I got the same error message.
– Matkrupp
Aug 5 '13 at 10:07
can you fund some kind of log file or dump file in the folder ?
– haki
Aug 5 '13 at 11:48
can you fund some kind of log file or dump file in the folder ?
– haki
Aug 5 '13 at 11:48
No, I think it deletes these files, also recycle bin is empty.
– Matkrupp
Aug 5 '13 at 14:07
No, I think it deletes these files, also recycle bin is empty.
– Matkrupp
Aug 5 '13 at 14:07
add a comment |
7 Answers
7
active
oldest
votes
From http://jgilfillan.github.io/2016/05/28/how-to-install-roracle-in-windows-7/
Download binary from oracle:
http://www.oracle.com/technetwork/database/database-technologies/r/roracle/downloads/index.html
The run the following command in r, substituting the file path:
setwd('xxxxx') # set to path of download
install.packages('ROracle_1.2-1.zip', repos = NULL)
Then load the library and use the package - you may have to change XXXX to whatever is in your TNS Names:
library('ROracle')
drv <- dbDriver("Oracle")
con <- dbConnect(drv, "USER GOES HERE", "PASSWORD GOES HERE", dbname='XXX')
test connection:
dbReadTable(con, 'DUAL')
Note that this has also been confirmed to work on Windows 10.
4
Has anyone had aby luck getting ROracle to work with R 3.5.0? Anyone have the inside scoop about whether Oracle has plans to update the package? TIA
– fishgal64
Jun 11 '18 at 17:15
1
There's a version for 3.5 now, but installing it fails with "cannot open compressed file 'ROracle/DESCRIPTION', probable reason 'No such file or directory"
– static_rtti
Feb 4 at 14:06
add a comment |
I had this exact problem as well, including the OCI_INC error. They actually talk about it in the INSTALL file in the .tar.gz package, you can read more there.
You have to set the OCI_INC
variable to the include
directory like this:
set OCI_INC=C:oracleproduct11.2.0client_2ociinclude
Or whereever your file is. Here was my complete setup to get things installed from an Admin privileged command line.
set OCI_LIB64=C:oracleproduct11.2.0client_2BIN
set OCI_INC=C:oracleproduct11.2.0client_2ociinclude
set PATH=C:oracleproduct11.2.0client_2BIN;C:Rtoolsbin;c:Rtoolsgcc-4.6.3bin;%PATH%
"C:/PROGRA~1/R/R-30~1.1/bin/x64/R" CMD INSTALL --build "C:/Your/Path/To/ROracle_1.1-10.tar.gz"
Also, make sure to change client_2
to client_1
and OCI_LIB64
to OCI_LIB32
if you are trying to do a 32-bit install.
add a comment |
After following the steps (highlighted in red boxes).
I also ran commands below on R.
So, everything went through well on a Windows 7 64-bit, R 3.4 64bit environment.
Sys.setenv(OCI_LIB64="C:/Oracle/instantclient_12_2/")
Sys.setenv(OCI_INC="C:/Oracle/product/11.2.0/client_1/oci/include")
install.packages("ROracle", dep=T)
Make sure Rtools is installed in base C directory. Like C:Rtools
– JeanVuda
Jul 20 '18 at 17:56
add a comment |
I had exactly this problem. It was caused because when installing RTools I did not check the 'edit PATH' checkbox. I uninstalled RTools and reinstalled it again, this time making sure the checkbox was checked, and it worked first time! Hope this helps.
Thanks, now it generates this error: Oracle Client Shared Library 32-bit - 11.2.0.1.0 Operating in Instant Client mode. ERROR: cannot find C:appmyaccountproduct11.2.0client_1/sdk/include or Oracle Client include. Please set OCI_INC to specify its location. ERROR: configuration failed for package 'ROracle'
– Matkrupp
Sep 2 '13 at 11:23
I don't have that kind of folder in my oracle client.
– Matkrupp
Sep 2 '13 at 11:23
I'm not really sure what to suggest - I'm running a full Oracle installation and not Instant Client, so I didn't come across this problem. Have you read the installation guide? cran.r-project.org/web/packages/ROracle/INSTALL
– user1578653
Sep 2 '13 at 11:29
It says that: "If header files are not located in the sdk/include subdirectory of the Instant Client directory (the directory that contains the libraries), then set the OCI_INC environment variable to locate the header files." Where are these header files located in Instant client?
– Matkrupp
Sep 2 '13 at 11:36
I looked on the Oracle website (oracle.com/technetwork/topics/winsoft-085727.html) and it seems that there are different versions of instant client - one of them is called "Instant Client Package - SDK" which says that it contains header files. Perhaps try downloading that and see if the files are in there? Make sure you download for the correct version of Oracle.
– user1578653
Sep 2 '13 at 11:58
add a comment |
I had a similar error when trying to install ROracle from source.1
After searching around a bit I had to undertake what others have mentioned as well as redownloading the tar.gz. When I double checked the download size it was 10KB instead of 234KB.
- Re-Download source from: http://cran.r-project.org/web/packages/ROracle/index.html
Updated the following Environmental Varibles in windows
SET PATH=C:Rtoolsbin;C:Rtoolsgcc-4.6.3;%PATH%
SET OCI_INC=C:Oracle_11G_ClientR2product11.2.0client_1ociinclude
SET OCI_LIB32=C:Oracle_11G_ClientR2product11.2.0client_1BIN
SET OCI_LIB64=C:Oracle_11G_ClientR2product11.2.0client_1BIN
R CMD INSTALL --build "C:tempROracle_1.1-12.tar.gz"Output should look like the following:
1 Here is what the previous error looked like:
C:Temp>R CMD INSTALL --build "C:\temp\ROracle_1.1-12.tar.gz"
Error in getOctD(x, offset, len) : invalid octal digit
The file ROracle_1.1-12.tar.gz contains instructions to compile source files, but it doesn't work well with Windows. The easier choice is to download the pre-compiled package from oracle.com/technetwork/database/database-technologies/r/roracle/…
– Andrea
Nov 18 '15 at 16:58
The pre-compiled package is for x64 without i386/x32. To overcome this you must build from source under 32 bit. (Error: package ‘ROracle’ is not installed for 'arch = i386') community.oracle.com/thread/3551343
– ddisqq
May 3 '17 at 14:56
add a comment |
Along with the 'Basic Package' and the 'ODBC Package', with Oracle 11g, you should copy unpacked files from the 'SDK package' into the subdirectory instantclient_11_2
. In this case, you will not need to define the environment variable Sys.setenv (OCI_INC = "...")
.
add a comment |
This is what worked for me:
Sys.setenv(OCI_LIB32="C:/oracle/product/12.1.0/client_1/BIN/")
Sys.setenv(OCI_INC="C:/oracle/product/12.1.0/client_1/oci/include/")
install.packages("ROracle")
New contributor
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f18046324%2fhow-to-install-roracle-package-on-windows-7%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
7 Answers
7
active
oldest
votes
7 Answers
7
active
oldest
votes
active
oldest
votes
active
oldest
votes
From http://jgilfillan.github.io/2016/05/28/how-to-install-roracle-in-windows-7/
Download binary from oracle:
http://www.oracle.com/technetwork/database/database-technologies/r/roracle/downloads/index.html
The run the following command in r, substituting the file path:
setwd('xxxxx') # set to path of download
install.packages('ROracle_1.2-1.zip', repos = NULL)
Then load the library and use the package - you may have to change XXXX to whatever is in your TNS Names:
library('ROracle')
drv <- dbDriver("Oracle")
con <- dbConnect(drv, "USER GOES HERE", "PASSWORD GOES HERE", dbname='XXX')
test connection:
dbReadTable(con, 'DUAL')
Note that this has also been confirmed to work on Windows 10.
4
Has anyone had aby luck getting ROracle to work with R 3.5.0? Anyone have the inside scoop about whether Oracle has plans to update the package? TIA
– fishgal64
Jun 11 '18 at 17:15
1
There's a version for 3.5 now, but installing it fails with "cannot open compressed file 'ROracle/DESCRIPTION', probable reason 'No such file or directory"
– static_rtti
Feb 4 at 14:06
add a comment |
From http://jgilfillan.github.io/2016/05/28/how-to-install-roracle-in-windows-7/
Download binary from oracle:
http://www.oracle.com/technetwork/database/database-technologies/r/roracle/downloads/index.html
The run the following command in r, substituting the file path:
setwd('xxxxx') # set to path of download
install.packages('ROracle_1.2-1.zip', repos = NULL)
Then load the library and use the package - you may have to change XXXX to whatever is in your TNS Names:
library('ROracle')
drv <- dbDriver("Oracle")
con <- dbConnect(drv, "USER GOES HERE", "PASSWORD GOES HERE", dbname='XXX')
test connection:
dbReadTable(con, 'DUAL')
Note that this has also been confirmed to work on Windows 10.
4
Has anyone had aby luck getting ROracle to work with R 3.5.0? Anyone have the inside scoop about whether Oracle has plans to update the package? TIA
– fishgal64
Jun 11 '18 at 17:15
1
There's a version for 3.5 now, but installing it fails with "cannot open compressed file 'ROracle/DESCRIPTION', probable reason 'No such file or directory"
– static_rtti
Feb 4 at 14:06
add a comment |
From http://jgilfillan.github.io/2016/05/28/how-to-install-roracle-in-windows-7/
Download binary from oracle:
http://www.oracle.com/technetwork/database/database-technologies/r/roracle/downloads/index.html
The run the following command in r, substituting the file path:
setwd('xxxxx') # set to path of download
install.packages('ROracle_1.2-1.zip', repos = NULL)
Then load the library and use the package - you may have to change XXXX to whatever is in your TNS Names:
library('ROracle')
drv <- dbDriver("Oracle")
con <- dbConnect(drv, "USER GOES HERE", "PASSWORD GOES HERE", dbname='XXX')
test connection:
dbReadTable(con, 'DUAL')
Note that this has also been confirmed to work on Windows 10.
From http://jgilfillan.github.io/2016/05/28/how-to-install-roracle-in-windows-7/
Download binary from oracle:
http://www.oracle.com/technetwork/database/database-technologies/r/roracle/downloads/index.html
The run the following command in r, substituting the file path:
setwd('xxxxx') # set to path of download
install.packages('ROracle_1.2-1.zip', repos = NULL)
Then load the library and use the package - you may have to change XXXX to whatever is in your TNS Names:
library('ROracle')
drv <- dbDriver("Oracle")
con <- dbConnect(drv, "USER GOES HERE", "PASSWORD GOES HERE", dbname='XXX')
test connection:
dbReadTable(con, 'DUAL')
Note that this has also been confirmed to work on Windows 10.
edited May 26 '18 at 1:26
answered Aug 19 '15 at 4:19
Josh GilfillanJosh Gilfillan
1,4231122
1,4231122
4
Has anyone had aby luck getting ROracle to work with R 3.5.0? Anyone have the inside scoop about whether Oracle has plans to update the package? TIA
– fishgal64
Jun 11 '18 at 17:15
1
There's a version for 3.5 now, but installing it fails with "cannot open compressed file 'ROracle/DESCRIPTION', probable reason 'No such file or directory"
– static_rtti
Feb 4 at 14:06
add a comment |
4
Has anyone had aby luck getting ROracle to work with R 3.5.0? Anyone have the inside scoop about whether Oracle has plans to update the package? TIA
– fishgal64
Jun 11 '18 at 17:15
1
There's a version for 3.5 now, but installing it fails with "cannot open compressed file 'ROracle/DESCRIPTION', probable reason 'No such file or directory"
– static_rtti
Feb 4 at 14:06
4
4
Has anyone had aby luck getting ROracle to work with R 3.5.0? Anyone have the inside scoop about whether Oracle has plans to update the package? TIA
– fishgal64
Jun 11 '18 at 17:15
Has anyone had aby luck getting ROracle to work with R 3.5.0? Anyone have the inside scoop about whether Oracle has plans to update the package? TIA
– fishgal64
Jun 11 '18 at 17:15
1
1
There's a version for 3.5 now, but installing it fails with "cannot open compressed file 'ROracle/DESCRIPTION', probable reason 'No such file or directory"
– static_rtti
Feb 4 at 14:06
There's a version for 3.5 now, but installing it fails with "cannot open compressed file 'ROracle/DESCRIPTION', probable reason 'No such file or directory"
– static_rtti
Feb 4 at 14:06
add a comment |
I had this exact problem as well, including the OCI_INC error. They actually talk about it in the INSTALL file in the .tar.gz package, you can read more there.
You have to set the OCI_INC
variable to the include
directory like this:
set OCI_INC=C:oracleproduct11.2.0client_2ociinclude
Or whereever your file is. Here was my complete setup to get things installed from an Admin privileged command line.
set OCI_LIB64=C:oracleproduct11.2.0client_2BIN
set OCI_INC=C:oracleproduct11.2.0client_2ociinclude
set PATH=C:oracleproduct11.2.0client_2BIN;C:Rtoolsbin;c:Rtoolsgcc-4.6.3bin;%PATH%
"C:/PROGRA~1/R/R-30~1.1/bin/x64/R" CMD INSTALL --build "C:/Your/Path/To/ROracle_1.1-10.tar.gz"
Also, make sure to change client_2
to client_1
and OCI_LIB64
to OCI_LIB32
if you are trying to do a 32-bit install.
add a comment |
I had this exact problem as well, including the OCI_INC error. They actually talk about it in the INSTALL file in the .tar.gz package, you can read more there.
You have to set the OCI_INC
variable to the include
directory like this:
set OCI_INC=C:oracleproduct11.2.0client_2ociinclude
Or whereever your file is. Here was my complete setup to get things installed from an Admin privileged command line.
set OCI_LIB64=C:oracleproduct11.2.0client_2BIN
set OCI_INC=C:oracleproduct11.2.0client_2ociinclude
set PATH=C:oracleproduct11.2.0client_2BIN;C:Rtoolsbin;c:Rtoolsgcc-4.6.3bin;%PATH%
"C:/PROGRA~1/R/R-30~1.1/bin/x64/R" CMD INSTALL --build "C:/Your/Path/To/ROracle_1.1-10.tar.gz"
Also, make sure to change client_2
to client_1
and OCI_LIB64
to OCI_LIB32
if you are trying to do a 32-bit install.
add a comment |
I had this exact problem as well, including the OCI_INC error. They actually talk about it in the INSTALL file in the .tar.gz package, you can read more there.
You have to set the OCI_INC
variable to the include
directory like this:
set OCI_INC=C:oracleproduct11.2.0client_2ociinclude
Or whereever your file is. Here was my complete setup to get things installed from an Admin privileged command line.
set OCI_LIB64=C:oracleproduct11.2.0client_2BIN
set OCI_INC=C:oracleproduct11.2.0client_2ociinclude
set PATH=C:oracleproduct11.2.0client_2BIN;C:Rtoolsbin;c:Rtoolsgcc-4.6.3bin;%PATH%
"C:/PROGRA~1/R/R-30~1.1/bin/x64/R" CMD INSTALL --build "C:/Your/Path/To/ROracle_1.1-10.tar.gz"
Also, make sure to change client_2
to client_1
and OCI_LIB64
to OCI_LIB32
if you are trying to do a 32-bit install.
I had this exact problem as well, including the OCI_INC error. They actually talk about it in the INSTALL file in the .tar.gz package, you can read more there.
You have to set the OCI_INC
variable to the include
directory like this:
set OCI_INC=C:oracleproduct11.2.0client_2ociinclude
Or whereever your file is. Here was my complete setup to get things installed from an Admin privileged command line.
set OCI_LIB64=C:oracleproduct11.2.0client_2BIN
set OCI_INC=C:oracleproduct11.2.0client_2ociinclude
set PATH=C:oracleproduct11.2.0client_2BIN;C:Rtoolsbin;c:Rtoolsgcc-4.6.3bin;%PATH%
"C:/PROGRA~1/R/R-30~1.1/bin/x64/R" CMD INSTALL --build "C:/Your/Path/To/ROracle_1.1-10.tar.gz"
Also, make sure to change client_2
to client_1
and OCI_LIB64
to OCI_LIB32
if you are trying to do a 32-bit install.
answered Sep 9 '13 at 20:00
nograpesnograpes
16.2k13155
16.2k13155
add a comment |
add a comment |
After following the steps (highlighted in red boxes).
I also ran commands below on R.
So, everything went through well on a Windows 7 64-bit, R 3.4 64bit environment.
Sys.setenv(OCI_LIB64="C:/Oracle/instantclient_12_2/")
Sys.setenv(OCI_INC="C:/Oracle/product/11.2.0/client_1/oci/include")
install.packages("ROracle", dep=T)
Make sure Rtools is installed in base C directory. Like C:Rtools
– JeanVuda
Jul 20 '18 at 17:56
add a comment |
After following the steps (highlighted in red boxes).
I also ran commands below on R.
So, everything went through well on a Windows 7 64-bit, R 3.4 64bit environment.
Sys.setenv(OCI_LIB64="C:/Oracle/instantclient_12_2/")
Sys.setenv(OCI_INC="C:/Oracle/product/11.2.0/client_1/oci/include")
install.packages("ROracle", dep=T)
Make sure Rtools is installed in base C directory. Like C:Rtools
– JeanVuda
Jul 20 '18 at 17:56
add a comment |
After following the steps (highlighted in red boxes).
I also ran commands below on R.
So, everything went through well on a Windows 7 64-bit, R 3.4 64bit environment.
Sys.setenv(OCI_LIB64="C:/Oracle/instantclient_12_2/")
Sys.setenv(OCI_INC="C:/Oracle/product/11.2.0/client_1/oci/include")
install.packages("ROracle", dep=T)
After following the steps (highlighted in red boxes).
I also ran commands below on R.
So, everything went through well on a Windows 7 64-bit, R 3.4 64bit environment.
Sys.setenv(OCI_LIB64="C:/Oracle/instantclient_12_2/")
Sys.setenv(OCI_INC="C:/Oracle/product/11.2.0/client_1/oci/include")
install.packages("ROracle", dep=T)
answered Sep 30 '17 at 0:09
JeanVudaJeanVuda
1,016623
1,016623
Make sure Rtools is installed in base C directory. Like C:Rtools
– JeanVuda
Jul 20 '18 at 17:56
add a comment |
Make sure Rtools is installed in base C directory. Like C:Rtools
– JeanVuda
Jul 20 '18 at 17:56
Make sure Rtools is installed in base C directory. Like C:Rtools
– JeanVuda
Jul 20 '18 at 17:56
Make sure Rtools is installed in base C directory. Like C:Rtools
– JeanVuda
Jul 20 '18 at 17:56
add a comment |
I had exactly this problem. It was caused because when installing RTools I did not check the 'edit PATH' checkbox. I uninstalled RTools and reinstalled it again, this time making sure the checkbox was checked, and it worked first time! Hope this helps.
Thanks, now it generates this error: Oracle Client Shared Library 32-bit - 11.2.0.1.0 Operating in Instant Client mode. ERROR: cannot find C:appmyaccountproduct11.2.0client_1/sdk/include or Oracle Client include. Please set OCI_INC to specify its location. ERROR: configuration failed for package 'ROracle'
– Matkrupp
Sep 2 '13 at 11:23
I don't have that kind of folder in my oracle client.
– Matkrupp
Sep 2 '13 at 11:23
I'm not really sure what to suggest - I'm running a full Oracle installation and not Instant Client, so I didn't come across this problem. Have you read the installation guide? cran.r-project.org/web/packages/ROracle/INSTALL
– user1578653
Sep 2 '13 at 11:29
It says that: "If header files are not located in the sdk/include subdirectory of the Instant Client directory (the directory that contains the libraries), then set the OCI_INC environment variable to locate the header files." Where are these header files located in Instant client?
– Matkrupp
Sep 2 '13 at 11:36
I looked on the Oracle website (oracle.com/technetwork/topics/winsoft-085727.html) and it seems that there are different versions of instant client - one of them is called "Instant Client Package - SDK" which says that it contains header files. Perhaps try downloading that and see if the files are in there? Make sure you download for the correct version of Oracle.
– user1578653
Sep 2 '13 at 11:58
add a comment |
I had exactly this problem. It was caused because when installing RTools I did not check the 'edit PATH' checkbox. I uninstalled RTools and reinstalled it again, this time making sure the checkbox was checked, and it worked first time! Hope this helps.
Thanks, now it generates this error: Oracle Client Shared Library 32-bit - 11.2.0.1.0 Operating in Instant Client mode. ERROR: cannot find C:appmyaccountproduct11.2.0client_1/sdk/include or Oracle Client include. Please set OCI_INC to specify its location. ERROR: configuration failed for package 'ROracle'
– Matkrupp
Sep 2 '13 at 11:23
I don't have that kind of folder in my oracle client.
– Matkrupp
Sep 2 '13 at 11:23
I'm not really sure what to suggest - I'm running a full Oracle installation and not Instant Client, so I didn't come across this problem. Have you read the installation guide? cran.r-project.org/web/packages/ROracle/INSTALL
– user1578653
Sep 2 '13 at 11:29
It says that: "If header files are not located in the sdk/include subdirectory of the Instant Client directory (the directory that contains the libraries), then set the OCI_INC environment variable to locate the header files." Where are these header files located in Instant client?
– Matkrupp
Sep 2 '13 at 11:36
I looked on the Oracle website (oracle.com/technetwork/topics/winsoft-085727.html) and it seems that there are different versions of instant client - one of them is called "Instant Client Package - SDK" which says that it contains header files. Perhaps try downloading that and see if the files are in there? Make sure you download for the correct version of Oracle.
– user1578653
Sep 2 '13 at 11:58
add a comment |
I had exactly this problem. It was caused because when installing RTools I did not check the 'edit PATH' checkbox. I uninstalled RTools and reinstalled it again, this time making sure the checkbox was checked, and it worked first time! Hope this helps.
I had exactly this problem. It was caused because when installing RTools I did not check the 'edit PATH' checkbox. I uninstalled RTools and reinstalled it again, this time making sure the checkbox was checked, and it worked first time! Hope this helps.
answered Sep 2 '13 at 8:51
user1578653user1578653
2,758113868
2,758113868
Thanks, now it generates this error: Oracle Client Shared Library 32-bit - 11.2.0.1.0 Operating in Instant Client mode. ERROR: cannot find C:appmyaccountproduct11.2.0client_1/sdk/include or Oracle Client include. Please set OCI_INC to specify its location. ERROR: configuration failed for package 'ROracle'
– Matkrupp
Sep 2 '13 at 11:23
I don't have that kind of folder in my oracle client.
– Matkrupp
Sep 2 '13 at 11:23
I'm not really sure what to suggest - I'm running a full Oracle installation and not Instant Client, so I didn't come across this problem. Have you read the installation guide? cran.r-project.org/web/packages/ROracle/INSTALL
– user1578653
Sep 2 '13 at 11:29
It says that: "If header files are not located in the sdk/include subdirectory of the Instant Client directory (the directory that contains the libraries), then set the OCI_INC environment variable to locate the header files." Where are these header files located in Instant client?
– Matkrupp
Sep 2 '13 at 11:36
I looked on the Oracle website (oracle.com/technetwork/topics/winsoft-085727.html) and it seems that there are different versions of instant client - one of them is called "Instant Client Package - SDK" which says that it contains header files. Perhaps try downloading that and see if the files are in there? Make sure you download for the correct version of Oracle.
– user1578653
Sep 2 '13 at 11:58
add a comment |
Thanks, now it generates this error: Oracle Client Shared Library 32-bit - 11.2.0.1.0 Operating in Instant Client mode. ERROR: cannot find C:appmyaccountproduct11.2.0client_1/sdk/include or Oracle Client include. Please set OCI_INC to specify its location. ERROR: configuration failed for package 'ROracle'
– Matkrupp
Sep 2 '13 at 11:23
I don't have that kind of folder in my oracle client.
– Matkrupp
Sep 2 '13 at 11:23
I'm not really sure what to suggest - I'm running a full Oracle installation and not Instant Client, so I didn't come across this problem. Have you read the installation guide? cran.r-project.org/web/packages/ROracle/INSTALL
– user1578653
Sep 2 '13 at 11:29
It says that: "If header files are not located in the sdk/include subdirectory of the Instant Client directory (the directory that contains the libraries), then set the OCI_INC environment variable to locate the header files." Where are these header files located in Instant client?
– Matkrupp
Sep 2 '13 at 11:36
I looked on the Oracle website (oracle.com/technetwork/topics/winsoft-085727.html) and it seems that there are different versions of instant client - one of them is called "Instant Client Package - SDK" which says that it contains header files. Perhaps try downloading that and see if the files are in there? Make sure you download for the correct version of Oracle.
– user1578653
Sep 2 '13 at 11:58
Thanks, now it generates this error: Oracle Client Shared Library 32-bit - 11.2.0.1.0 Operating in Instant Client mode. ERROR: cannot find C:appmyaccountproduct11.2.0client_1/sdk/include or Oracle Client include. Please set OCI_INC to specify its location. ERROR: configuration failed for package 'ROracle'
– Matkrupp
Sep 2 '13 at 11:23
Thanks, now it generates this error: Oracle Client Shared Library 32-bit - 11.2.0.1.0 Operating in Instant Client mode. ERROR: cannot find C:appmyaccountproduct11.2.0client_1/sdk/include or Oracle Client include. Please set OCI_INC to specify its location. ERROR: configuration failed for package 'ROracle'
– Matkrupp
Sep 2 '13 at 11:23
I don't have that kind of folder in my oracle client.
– Matkrupp
Sep 2 '13 at 11:23
I don't have that kind of folder in my oracle client.
– Matkrupp
Sep 2 '13 at 11:23
I'm not really sure what to suggest - I'm running a full Oracle installation and not Instant Client, so I didn't come across this problem. Have you read the installation guide? cran.r-project.org/web/packages/ROracle/INSTALL
– user1578653
Sep 2 '13 at 11:29
I'm not really sure what to suggest - I'm running a full Oracle installation and not Instant Client, so I didn't come across this problem. Have you read the installation guide? cran.r-project.org/web/packages/ROracle/INSTALL
– user1578653
Sep 2 '13 at 11:29
It says that: "If header files are not located in the sdk/include subdirectory of the Instant Client directory (the directory that contains the libraries), then set the OCI_INC environment variable to locate the header files." Where are these header files located in Instant client?
– Matkrupp
Sep 2 '13 at 11:36
It says that: "If header files are not located in the sdk/include subdirectory of the Instant Client directory (the directory that contains the libraries), then set the OCI_INC environment variable to locate the header files." Where are these header files located in Instant client?
– Matkrupp
Sep 2 '13 at 11:36
I looked on the Oracle website (oracle.com/technetwork/topics/winsoft-085727.html) and it seems that there are different versions of instant client - one of them is called "Instant Client Package - SDK" which says that it contains header files. Perhaps try downloading that and see if the files are in there? Make sure you download for the correct version of Oracle.
– user1578653
Sep 2 '13 at 11:58
I looked on the Oracle website (oracle.com/technetwork/topics/winsoft-085727.html) and it seems that there are different versions of instant client - one of them is called "Instant Client Package - SDK" which says that it contains header files. Perhaps try downloading that and see if the files are in there? Make sure you download for the correct version of Oracle.
– user1578653
Sep 2 '13 at 11:58
add a comment |
I had a similar error when trying to install ROracle from source.1
After searching around a bit I had to undertake what others have mentioned as well as redownloading the tar.gz. When I double checked the download size it was 10KB instead of 234KB.
- Re-Download source from: http://cran.r-project.org/web/packages/ROracle/index.html
Updated the following Environmental Varibles in windows
SET PATH=C:Rtoolsbin;C:Rtoolsgcc-4.6.3;%PATH%
SET OCI_INC=C:Oracle_11G_ClientR2product11.2.0client_1ociinclude
SET OCI_LIB32=C:Oracle_11G_ClientR2product11.2.0client_1BIN
SET OCI_LIB64=C:Oracle_11G_ClientR2product11.2.0client_1BIN
R CMD INSTALL --build "C:tempROracle_1.1-12.tar.gz"Output should look like the following:
1 Here is what the previous error looked like:
C:Temp>R CMD INSTALL --build "C:\temp\ROracle_1.1-12.tar.gz"
Error in getOctD(x, offset, len) : invalid octal digit
The file ROracle_1.1-12.tar.gz contains instructions to compile source files, but it doesn't work well with Windows. The easier choice is to download the pre-compiled package from oracle.com/technetwork/database/database-technologies/r/roracle/…
– Andrea
Nov 18 '15 at 16:58
The pre-compiled package is for x64 without i386/x32. To overcome this you must build from source under 32 bit. (Error: package ‘ROracle’ is not installed for 'arch = i386') community.oracle.com/thread/3551343
– ddisqq
May 3 '17 at 14:56
add a comment |
I had a similar error when trying to install ROracle from source.1
After searching around a bit I had to undertake what others have mentioned as well as redownloading the tar.gz. When I double checked the download size it was 10KB instead of 234KB.
- Re-Download source from: http://cran.r-project.org/web/packages/ROracle/index.html
Updated the following Environmental Varibles in windows
SET PATH=C:Rtoolsbin;C:Rtoolsgcc-4.6.3;%PATH%
SET OCI_INC=C:Oracle_11G_ClientR2product11.2.0client_1ociinclude
SET OCI_LIB32=C:Oracle_11G_ClientR2product11.2.0client_1BIN
SET OCI_LIB64=C:Oracle_11G_ClientR2product11.2.0client_1BIN
R CMD INSTALL --build "C:tempROracle_1.1-12.tar.gz"Output should look like the following:
1 Here is what the previous error looked like:
C:Temp>R CMD INSTALL --build "C:\temp\ROracle_1.1-12.tar.gz"
Error in getOctD(x, offset, len) : invalid octal digit
The file ROracle_1.1-12.tar.gz contains instructions to compile source files, but it doesn't work well with Windows. The easier choice is to download the pre-compiled package from oracle.com/technetwork/database/database-technologies/r/roracle/…
– Andrea
Nov 18 '15 at 16:58
The pre-compiled package is for x64 without i386/x32. To overcome this you must build from source under 32 bit. (Error: package ‘ROracle’ is not installed for 'arch = i386') community.oracle.com/thread/3551343
– ddisqq
May 3 '17 at 14:56
add a comment |
I had a similar error when trying to install ROracle from source.1
After searching around a bit I had to undertake what others have mentioned as well as redownloading the tar.gz. When I double checked the download size it was 10KB instead of 234KB.
- Re-Download source from: http://cran.r-project.org/web/packages/ROracle/index.html
Updated the following Environmental Varibles in windows
SET PATH=C:Rtoolsbin;C:Rtoolsgcc-4.6.3;%PATH%
SET OCI_INC=C:Oracle_11G_ClientR2product11.2.0client_1ociinclude
SET OCI_LIB32=C:Oracle_11G_ClientR2product11.2.0client_1BIN
SET OCI_LIB64=C:Oracle_11G_ClientR2product11.2.0client_1BIN
R CMD INSTALL --build "C:tempROracle_1.1-12.tar.gz"Output should look like the following:
1 Here is what the previous error looked like:
C:Temp>R CMD INSTALL --build "C:\temp\ROracle_1.1-12.tar.gz"
Error in getOctD(x, offset, len) : invalid octal digit
I had a similar error when trying to install ROracle from source.1
After searching around a bit I had to undertake what others have mentioned as well as redownloading the tar.gz. When I double checked the download size it was 10KB instead of 234KB.
- Re-Download source from: http://cran.r-project.org/web/packages/ROracle/index.html
Updated the following Environmental Varibles in windows
SET PATH=C:Rtoolsbin;C:Rtoolsgcc-4.6.3;%PATH%
SET OCI_INC=C:Oracle_11G_ClientR2product11.2.0client_1ociinclude
SET OCI_LIB32=C:Oracle_11G_ClientR2product11.2.0client_1BIN
SET OCI_LIB64=C:Oracle_11G_ClientR2product11.2.0client_1BIN
R CMD INSTALL --build "C:tempROracle_1.1-12.tar.gz"Output should look like the following:
1 Here is what the previous error looked like:
C:Temp>R CMD INSTALL --build "C:\temp\ROracle_1.1-12.tar.gz"
Error in getOctD(x, offset, len) : invalid octal digit
answered Jun 8 '15 at 17:53
ddisqqddisqq
1013
1013
The file ROracle_1.1-12.tar.gz contains instructions to compile source files, but it doesn't work well with Windows. The easier choice is to download the pre-compiled package from oracle.com/technetwork/database/database-technologies/r/roracle/…
– Andrea
Nov 18 '15 at 16:58
The pre-compiled package is for x64 without i386/x32. To overcome this you must build from source under 32 bit. (Error: package ‘ROracle’ is not installed for 'arch = i386') community.oracle.com/thread/3551343
– ddisqq
May 3 '17 at 14:56
add a comment |
The file ROracle_1.1-12.tar.gz contains instructions to compile source files, but it doesn't work well with Windows. The easier choice is to download the pre-compiled package from oracle.com/technetwork/database/database-technologies/r/roracle/…
– Andrea
Nov 18 '15 at 16:58
The pre-compiled package is for x64 without i386/x32. To overcome this you must build from source under 32 bit. (Error: package ‘ROracle’ is not installed for 'arch = i386') community.oracle.com/thread/3551343
– ddisqq
May 3 '17 at 14:56
The file ROracle_1.1-12.tar.gz contains instructions to compile source files, but it doesn't work well with Windows. The easier choice is to download the pre-compiled package from oracle.com/technetwork/database/database-technologies/r/roracle/…
– Andrea
Nov 18 '15 at 16:58
The file ROracle_1.1-12.tar.gz contains instructions to compile source files, but it doesn't work well with Windows. The easier choice is to download the pre-compiled package from oracle.com/technetwork/database/database-technologies/r/roracle/…
– Andrea
Nov 18 '15 at 16:58
The pre-compiled package is for x64 without i386/x32. To overcome this you must build from source under 32 bit. (Error: package ‘ROracle’ is not installed for 'arch = i386') community.oracle.com/thread/3551343
– ddisqq
May 3 '17 at 14:56
The pre-compiled package is for x64 without i386/x32. To overcome this you must build from source under 32 bit. (Error: package ‘ROracle’ is not installed for 'arch = i386') community.oracle.com/thread/3551343
– ddisqq
May 3 '17 at 14:56
add a comment |
Along with the 'Basic Package' and the 'ODBC Package', with Oracle 11g, you should copy unpacked files from the 'SDK package' into the subdirectory instantclient_11_2
. In this case, you will not need to define the environment variable Sys.setenv (OCI_INC = "...")
.
add a comment |
Along with the 'Basic Package' and the 'ODBC Package', with Oracle 11g, you should copy unpacked files from the 'SDK package' into the subdirectory instantclient_11_2
. In this case, you will not need to define the environment variable Sys.setenv (OCI_INC = "...")
.
add a comment |
Along with the 'Basic Package' and the 'ODBC Package', with Oracle 11g, you should copy unpacked files from the 'SDK package' into the subdirectory instantclient_11_2
. In this case, you will not need to define the environment variable Sys.setenv (OCI_INC = "...")
.
Along with the 'Basic Package' and the 'ODBC Package', with Oracle 11g, you should copy unpacked files from the 'SDK package' into the subdirectory instantclient_11_2
. In this case, you will not need to define the environment variable Sys.setenv (OCI_INC = "...")
.
answered Oct 11 '18 at 5:32
Александр РодионовАлександр Родионов
62
62
add a comment |
add a comment |
This is what worked for me:
Sys.setenv(OCI_LIB32="C:/oracle/product/12.1.0/client_1/BIN/")
Sys.setenv(OCI_INC="C:/oracle/product/12.1.0/client_1/oci/include/")
install.packages("ROracle")
New contributor
add a comment |
This is what worked for me:
Sys.setenv(OCI_LIB32="C:/oracle/product/12.1.0/client_1/BIN/")
Sys.setenv(OCI_INC="C:/oracle/product/12.1.0/client_1/oci/include/")
install.packages("ROracle")
New contributor
add a comment |
This is what worked for me:
Sys.setenv(OCI_LIB32="C:/oracle/product/12.1.0/client_1/BIN/")
Sys.setenv(OCI_INC="C:/oracle/product/12.1.0/client_1/oci/include/")
install.packages("ROracle")
New contributor
This is what worked for me:
Sys.setenv(OCI_LIB32="C:/oracle/product/12.1.0/client_1/BIN/")
Sys.setenv(OCI_INC="C:/oracle/product/12.1.0/client_1/oci/include/")
install.packages("ROracle")
New contributor
New contributor
answered Mar 29 at 18:15
Joe S.Joe S.
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f18046324%2fhow-to-install-roracle-package-on-windows-7%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
I didn't have any trouble installing ROracle on windows 7. I've got both db and client 10g installed. Looks like you set the appropriate variables so try to install from the source and maybe we will get a more informative error message
install.packages("ROracle",type = "source")
.– haki
Aug 5 '13 at 5:56
Thanks, I also tried to install from source, but I got the same error message.
– Matkrupp
Aug 5 '13 at 10:07
can you fund some kind of log file or dump file in the folder ?
– haki
Aug 5 '13 at 11:48
No, I think it deletes these files, also recycle bin is empty.
– Matkrupp
Aug 5 '13 at 14:07