programonky
郢辰
采纳率0%
2015-12-06 04:24

ROracle安装的时候遇见的问题,求大神们帮帮忙啊!!!!!

--- 在此連線階段时请选用CRAN的鏡子 ---
also installing the dependency ‘DBI’

Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘ROracle’
你想从源代码尝试安装这些
y/n: y
试开URL’https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/3.2/DBI_0.3.1.zip'
Content type 'application/zip' length 162901 bytes (159 KB)
downloaded 159 KB

程序包‘DBI’打开成功,MD5和检查也通过

下载的二进制程序包在
C:\Documents and Settings\Administrator\Local Settings\Temp\RtmpA35ab3\downloaded_packages里
installing the source package ‘ROracle’

试开URL’https://mirrors.tuna.tsinghua.edu.cn/CRAN/src/contrib/ROracle_1.2-1.tar.gz'
Content type 'application/octet-stream' length 299072 bytes (292 KB)
downloaded 292 KB

  • installing source package 'ROracle' ... ** 成功将'ROracle'程序包解包并MD5和检查 ERROR: cannot find Oracle Client. Please set OCI_LIB32 to specify its location. Warning: 运行命令'sh ./configure.win'的状态是1 ERROR: configuration failed for package 'ROracle'
  • removing 'C:/R-3.2.2/library/ROracle'

下载的程序包在
‘C:\Documents and Settings\Administrator\Local Settings\Temp\RtmpA35ab3\downloaded_packages’里
Warning messages:
1: 运行命令'"C:/R-3.2.2/bin/i386/R" CMD INSTALL -l "C:\R-3.2.2\library" C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RtmpA35ab3/downloaded_packages/ROracle_1.2-1.tar.gz'的状态是1
2: In install.packages(NULL, .libPaths()[1L], dependencies = NA, type = type) :
安装程序包‘ROracle’时退出狀態的值不是0

上面是界面里面显示的东西,上面流程走完之后还是LIBRARY还是无法找到包,求大婶帮帮忙啊!!!!!

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • tomtiler tomtiler 5年前

    Installing package into ‘C:/Users/matao/Documents/R/win-library/3.2’
    (as ‘lib’ is unspecified)
    试开URL’https://mirrors.tuna.tsinghua.edu.cn/CRAN/src/contrib/ROracle_1.2-2.tar.gz'
    Content type 'application/octet-stream' length 304229 bytes (297 KB)
    downloaded 297 KB

    Error in setwd(exdir) : 无法改变工作目录

    下载的程序包在
    ‘C:\Users\matao\AppData\Local\Temp\RtmpyY0xNR\downloaded_packages’里
    Warning messages:
    1: 运行命令'"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\matao\Documents\R\win-library\3.2" C:\Users\matao\AppData\Local\Temp\RtmpyY0xNR/downloaded_packages/ROracle_1.2-2.tar.gz'的状态是1
    2: In install.packages("ROracle", type = "source") :
    安装程序包‘ROracle’时退出狀態的值不是0

    点赞 评论 复制链接分享

相关推荐