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;








21















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?










share|improve this question



















  • 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

















21















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?










share|improve this question



















  • 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













21












21








21


13






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?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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












  • 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







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












7 Answers
7






active

oldest

votes


















19














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.






share|improve this answer




















  • 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


















9














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.






share|improve this answer






























    3














    After following the steps (highlighted in red boxes).
    I also ran commands below on R.
    enter image description hereenter image description here
    So, everything went through well on a Windows 7 64-bit, R 3.4 64bit environment.
    enter image description hereenter image description here



    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)





    share|improve this answer























    • Make sure Rtools is installed in base C directory. Like C:Rtools

      – JeanVuda
      Jul 20 '18 at 17:56


















    2














    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.






    share|improve this answer























    • 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



















    2














    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.



    1. Re-Download source from: http://cran.r-project.org/web/packages/ROracle/index.html


    2. 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"



    3. Output should look like the following:
      samplecmdoutput


    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





    share|improve this answer























    • 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



















    0














    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 = "...").






    share|improve this answer






























      0














      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")





      share|improve this answer








      New contributor




      Joe S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















        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
        );



        );













        draft saved

        draft discarded


















        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









        19














        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.






        share|improve this answer




















        • 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















        19














        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.






        share|improve this answer




















        • 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













        19












        19








        19







        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.






        share|improve this answer















        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.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        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












        • 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













        9














        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.






        share|improve this answer



























          9














          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.






          share|improve this answer

























            9












            9








            9







            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.






            share|improve this answer













            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.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Sep 9 '13 at 20:00









            nograpesnograpes

            16.2k13155




            16.2k13155





















                3














                After following the steps (highlighted in red boxes).
                I also ran commands below on R.
                enter image description hereenter image description here
                So, everything went through well on a Windows 7 64-bit, R 3.4 64bit environment.
                enter image description hereenter image description here



                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)





                share|improve this answer























                • Make sure Rtools is installed in base C directory. Like C:Rtools

                  – JeanVuda
                  Jul 20 '18 at 17:56















                3














                After following the steps (highlighted in red boxes).
                I also ran commands below on R.
                enter image description hereenter image description here
                So, everything went through well on a Windows 7 64-bit, R 3.4 64bit environment.
                enter image description hereenter image description here



                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)





                share|improve this answer























                • Make sure Rtools is installed in base C directory. Like C:Rtools

                  – JeanVuda
                  Jul 20 '18 at 17:56













                3












                3








                3







                After following the steps (highlighted in red boxes).
                I also ran commands below on R.
                enter image description hereenter image description here
                So, everything went through well on a Windows 7 64-bit, R 3.4 64bit environment.
                enter image description hereenter image description here



                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)





                share|improve this answer













                After following the steps (highlighted in red boxes).
                I also ran commands below on R.
                enter image description hereenter image description here
                So, everything went through well on a Windows 7 64-bit, R 3.4 64bit environment.
                enter image description hereenter image description here



                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)






                share|improve this answer












                share|improve this answer



                share|improve this answer










                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

















                • 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











                2














                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.






                share|improve this answer























                • 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
















                2














                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.






                share|improve this answer























                • 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














                2












                2








                2







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                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


















                • 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












                2














                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.



                1. Re-Download source from: http://cran.r-project.org/web/packages/ROracle/index.html


                2. 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"



                3. Output should look like the following:
                  samplecmdoutput


                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





                share|improve this answer























                • 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
















                2














                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.



                1. Re-Download source from: http://cran.r-project.org/web/packages/ROracle/index.html


                2. 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"



                3. Output should look like the following:
                  samplecmdoutput


                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





                share|improve this answer























                • 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














                2












                2








                2







                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.



                1. Re-Download source from: http://cran.r-project.org/web/packages/ROracle/index.html


                2. 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"



                3. Output should look like the following:
                  samplecmdoutput


                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





                share|improve this answer













                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.



                1. Re-Download source from: http://cran.r-project.org/web/packages/ROracle/index.html


                2. 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"



                3. Output should look like the following:
                  samplecmdoutput


                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






                share|improve this answer












                share|improve this answer



                share|improve this answer










                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


















                • 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












                0














                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 = "...").






                share|improve this answer



























                  0














                  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 = "...").






                  share|improve this answer

























                    0












                    0








                    0







                    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 = "...").






                    share|improve this answer













                    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 = "...").







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Oct 11 '18 at 5:32









                    Александр РодионовАлександр Родионов

                    62




                    62





















                        0














                        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")





                        share|improve this answer








                        New contributor




                        Joe S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.
























                          0














                          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")





                          share|improve this answer








                          New contributor




                          Joe S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






















                            0












                            0








                            0







                            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")





                            share|improve this answer








                            New contributor




                            Joe S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.










                            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")






                            share|improve this answer








                            New contributor




                            Joe S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.









                            share|improve this answer



                            share|improve this answer






                            New contributor




                            Joe S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.









                            answered Mar 29 at 18:15









                            Joe S.Joe S.

                            1




                            1




                            New contributor




                            Joe S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.





                            New contributor





                            Joe S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.






                            Joe S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.



























                                draft saved

                                draft discarded
















































                                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.




                                draft saved


                                draft discarded














                                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





















































                                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







                                Popular posts from this blog

                                Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

                                2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

                                Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme