我有一個bat文件,我已經成功運行了一段時間,從命令行調用R然後是R腳本。它最近失敗了,感覺它與包加載有關。我有R版本3.2.3(2015-12-10)和RStudio版本0.99.489。錯誤在cmd窗口中運行R腳本
錯誤發生在軟件包正在加載時顯然,但它們不是R錯誤,而是錯誤尋找各種.dll的,以0x7e錯誤結束。不知道爲什麼R/Windows正在尋找DLL(?!)。
我也嘗試谷歌的「LoadLibraryFromPath」功能,但沒有得到任何。
這裏是cmd窗口輸出:
Warning message:
package 'ggplot2' was built under R version 3.1.3
Warning message:
package 'scales' was built under R version 3.1.3
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Warning message:
package 'rkt' was built under R version 3.1.2
Loading required package: methods
LoadLibraryFromPath: FQ Dll C:\Windows\system\oci.dll is not found, error: 0x7e
LoadLibraryFromPath: FQ Dll C:\Windows\oci.dll is not found, error: 0x7e
LoadLibraryFromPath: FQ Dll C:\ProgramData\Oracle\Java\javapath\oci.dll is not f
ound, error: 0x7e
LoadLibraryFromPath: FQ Dll C:\Program Files (x86)\TIBCO\splus82\oci.dll is not
found, error: 0x7e
LoadLibraryFromPath: FQ Dll C:\app\product\11.2.0\client_1\bin\oci.dll found
LoadLibraryFromPath: FQ Dll C:\Windows\system\SQLLib80.dll is not found, error:
0x7e
LoadLibraryFromPath: FQ Dll C:\Windows\SQLLib80.dll is not found, error: 0x7e
LoadLibraryFromPath: FQ Dll C:\ProgramData\Oracle\Java\javapath\SQLLib80.dll is
not found, error: 0x7e
LoadLibraryFromPath: FQ Dll C:\Program Files (x86)\TIBCO\splus82\SQLLib80.dll is
not found, error: 0x7e
LoadLibraryFromPath: FQ Dll C:\app\product\11.2.0\client_1\bin\SQLLib80.dll is n
ot found, error: 0x7e
LoadLibraryFromPath: FQ Dll C:\Windows\system32\SQLLib80.dll is not found, error
: 0x7e
LoadLibraryFromPath: FQ Dll C:\Windows\SQLLib80.dll is not found, error: 0x7e
.
.
.
任何想法?
我厭倦了MS的解決方法,但沒有運氣 - 刪除該補丁,因爲你建議清除問題。我希望知道KB 3147071 @Tony會修復這個補丁 –