0
창문 내가이 시점
install.packages("ROracle") Installing package into ‘C:/Users/admin/Documents/R/win-library/3.3’ (as ‘lib’ is unspecified) Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘ROracle’ Do you want to attempt to install these from sources? y/n: y installing the source package ‘ROracle’ trying URL 'https://cran.rstudio.com/src/contrib/ROracle_1.3-1.tar.gz' Content type 'application/x-gzip' length 308252 bytes (301 KB) downloaded 301 KB * installing *source* package 'ROracle' ... ** package 'ROracle' successfully unpacked and MD5 sums checked ERROR: cannot find Oracle Client. Please set OCI_LIB64 to specify its location. Warning: running command 'sh ./configure.win' had status 1 ERROR: configuration failed for package 'ROracle' * removing 'C:/Users/admin/Documents/R/win-library/3.3/ROracle' Warning in install.packages : running command '"C:/PROGRA~1/R/R-33~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\admin\Documents\R\win-library\3.3" C:\Users\admin\AppData\Local\Temp\RtmpGYlz5L/downloaded_packages/ROracle_1.3-1.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:\Users\admin\AppData\Local\Temp\RtmpGYlz5L\downloaded_packages’
내가 Rtools Rtools33.exe 설치 한에 갇히지있어 (10)에 rpackage Roracle를 설치하는 것은 내 R 버전은
동안 D : version.string R 버전 3.3.2 (2016년 10월 31일)의 경로는
오라클 클라이언트가 D 드라이브에 intalled되는 오라클 11g 데이터베이스와 연결 도와주세요 \ 응용 프로그램 \ 관리 \ 제품 \ 11.2.0 \ client_1 \ BIN
33 대신 Rtools34를 사용하는 것을 고려해보십시오. 그러나 이것이 당신의 문제를 해결할지는 모르겠다. 이를 위해'Sys.setenv (OCI_LIB64 = "d : /app/admin/product/11.2.0/client_1/BIN")'를 설정해 보셨습니까? – r2evans
동일한 오류 메시지가 발생했습니다. rtool을 33에서 34로 변경했습니다. – ashish
이 작업을 직접 수행하지는 못했지만 [이 지침] (https : //cran.r-project .org/web/packages/ROracle/INSTALL). –