我正在嘗試在我的Windows 7客戶端上安裝ROracle軟件包。我安裝了Oracle Instant Client和Rtools,DBI軟件包已安裝,已設置OCI32_LIB環境變量。但是,當我嘗試從命令行安裝:如何在Windows 7上安裝ROracle軟件包?
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>
當我嘗試從源代碼安裝:
> 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:\Users\myaccount\Documents\R\win-library\3.0" C:\Users\myaccount\AppData\Local\Temp\RtmpGggbyp/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:\Users\myaccount\AppData\Local\Temp\RtmpGggbyp\downloaded_packages’
我應該怎麼做,如何進行?
我沒有在Windows 7上我有兩個安裝數據庫和客戶端安裝10克任何ROracle麻煩。看起來你設置了合適的變量,所以試着從源代碼安裝,也許我們會得到一個更多的信息錯誤信息'install.packages(「ROracle」,type =「source」)'。 – haki
謝謝,我也嘗試從源代碼安裝,但我得到了同樣的錯誤信息。 – Matkrupp
你可以資助文件夾中的某種日誌文件或轉儲文件嗎? – haki