R C 符号名称 "do_is_ordered"不在包 xts 的 DLL 中

标签 r dll installation xts

我在办公室的电脑上安装了 R,但我遇到了一些奇怪的事情。我试图使用 xts 包,但发生了以下情况:

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"

对于德文文本,我很抱歉,但我没有找到对应的英文文本,该声明说类似 C 符号名称“do_is_ordered”的内容不在包“xts”的 DLL 中。

这是我的 session 信息:

> 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

正如我之前提到的,它是办公室中的一台计算机,它对互联网的访问受到限制,所有的软件包都是从本地文件夹安装的,我不能像我最希望的那样简单地重新安装 R 的版本。这很奇怪,因为办公室中的其他计算机不会使用相同的代码产生任何错误。我想问你什么会产生错误(错误的安装?) resp。我怎样才能在不需要重新安装 R 的情况下修复它(这并不像人们预期的那么简单,尤其是在我背后的 IT 服务 :-))

最佳答案

我遇到了同样的错误并引用了Xts conversion fails on update from xts 0.9.7 to 0.10.0 , 重新安装 devtools::install_github("joshuaulrich/xts")对我有用。

关于R C 符号名称 "do_is_ordered"不在包 xts 的 DLL 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9188757/

相关文章:

r - 根据命名向量 (R) 更改列名

r - 在 R 中向量化 "if"

r - 更新已安装软件包中的数据集

r - 按列展开矩阵

dll - MSBuild 将网站项目发布到文件系统不会从引用的项目复制 dll

c++ - 使用接口(interface)从 dll 中导出类

c# - 使用 Mupen64Plus Unmanaged C dll API 命令填充 C# 结构

Python:不工作 StatsModels

c++ - 在 mac osx leopard 上安装 c++ boost——端口失败

mysql - 安装 mysql noinstall zip 存档