简体   繁体   中英

R C symbol name “do_is_ordered” not in the DLL for package xts

I have R installed on my computer in the office and I have experienced something weird. I was trying to use the xts package but the following is happening:

library(xts)
data(sample_matrix) 
sample.xts <- as.xts(sample_matrix, descr='my new xts object')
Fehler in .Call("do_is_ordered", x = x, increasing = as.logical(increasing),  :
C Symbolname "do_is_ordered" nicht in der DLL für Paket "xts"

I am sorry for the German text but I did not find the equivalent in English, the statement is saying something like C symbol name "do_is_ordered" is not in the DLL for package "xts".

Here is my session info:

> sessionInfo()
R version 2.13.2 (2011-09-30)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=German_Austria.1252  LC_CTYPE=German_Austria.1252
[3] LC_MONETARY=German_Austria.1252 LC_NUMERIC=C
[5] LC_TIME=German_Austria.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] PerformanceAnalytics_1.0.3.2 xlsReadWrite_1.5.4
[3] quantmod_0.3-15              TTR_0.20-2
[5] Defaults_1.1-1               xts_0.7-5
[7] zoo_1.6-4

loaded via a namespace (and not attached):
[1] grid_2.13.2     lattice_0.19-33 tools_2.13.2

As I have mentioned before, it is a computer in the office which has restricted access to the internet, all the packages are installed from the local folder and I can not simply reinstall the version of R as I would wish the most. It is weird as other computers in the office dont produce any errors with the same code. I would like to ask you what could produce the error (wrong installation?) resp. how could I fix it without necessity of reinstalling R (which is not as simply as one would expect, especially with the IT service behind my back :-))

我遇到了同样的错误并且在从xts 0.9.7到0.10.0的更新时引用了Xts转换失败 ,重新安装的devtools::install_github("joshuaulrich/xts")对我来说很有用。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM