首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >“ROracle”包配置失败

“ROracle”包配置失败
EN

Stack Overflow用户
提问于 2022-06-08 17:59:19
回答 1查看 165关注 0票数 -1

我正在尝试安装ROracle,我有以下错误:

代码语言:javascript
复制
R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

* Project '~/profiler-gas' loaded. [renv 0.15.2]
* The project may be out of sync -- use `renv::status()` for more details.
> install.packages("ROracle")
Retrieving 'https://cran.rstudio.com/src/contrib/ROracle_1.3-1.1.tar.gz' ...
    OK [file is up to date]
Installing ROracle [1.3-1.1] ...
    FAILED
Error installing package 'ROracle':
===================================

* installing to library 'C:/Users/hh6011/Documents/profiler-gas/renv/staging/1'
* installing *source* package 'ROracle' ...
** package 'ROracle' successfully unpacked and MD5 sums checked
** using staged installation
Warning in system("sh ./configure.win") : 'sh' not found
ERROR: configuration failed for package 'ROracle'
* removing 'C:/Users/hh6011/Documents/profiler-gas/renv/staging/1/ROracle'
Error: install of package 'ROracle' failed [error code 1]

我已经遵循了这里描述的步骤:https://www.oracle.com/database/technologies/instant-client/downloads.html

(下载Basic Package & SDK包,粘贴C:\oracle\instantclient_X_X中解压缩的文件,创建变量OCI_INC和OCI_LIB64,将C:\oracle\instantclient_X_X添加到路径并将C:\oracle\instantclient_X_X复制到C:\Program \R-X.X.X\include)

EN

回答 1

Stack Overflow用户

发布于 2022-06-11 03:26:31

系统中的

警告(“sh./figre.win”):“sh”未找到

错误:包“ROracle”配置失败

您可能需要安装Rtools。有关更多详细信息,请参阅https://cran.r-project.org/bin/windows/Rtools/

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72550262

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档