简体   繁体   English

错误:'arch = x64'没有安装包'lsei'

[英]Error: package 'lsei' is not installed for 'arch=x64'

I have recently upgraded from R 2.9 (I think) to R 2.13 on my Windows 7 machine. 我最近在我的Windows 7机器上从R 2.9(我认为)升级到R 2.13。 Since the upgrade, I've been having problem loading the following package (lsei.zip). 自升级以来,我一直在加载以下软件包时遇到问题(lsei.zip)。

http://www.stat.auckland.ac.nz/~yongwang/ http://www.stat.auckland.ac.nz/~yongwang/

> utils:::menuInstallLocal()
package 'lsei' successfully unpacked and MD5 sums checked
> library(lsei)
Error: package 'lsei' is not installed for 'arch=i386'

I have read some thread on Stackoverlow and other R-help forums but their answer doesn't seem to resolve my problem. 我已经阅读了Stackoverlow和其他R-help论坛上的一些帖子,但他们的答案似乎并没有解决我的问题。 (eg removing an older copy or re-install all the packages) (例如删除旧版本或重新安装所有软件包)

Nevertheless, I have been able to install and load the package successfully on my Mac machine. 不过,我已经能够在我的Mac机器上成功安装和加载包。 So I think it should be something associated with Windows but not sure what it is. 所以我认为它应该是与Windows相关的东西,但不确定它是什么。

Much appreciated if someone can point me to the right direction and help me resolve this issue. 非常感谢有人能指出我正确的方向并帮助我解决这个问题。

Thanks in advance. 提前致谢。 MK MK

The problem with the lsei Windows binary is probably that it was built using an old version of R and is no longer compatible with more recent versions of R. When having similar problems in the future, if the source code is available (which it is in this case, at the link you provided), you can just build the binary from source yourself. lsei Windows二进制文件的问题可能是它是使用旧版本的R构建的,并且不再与更新版本的R兼容。如果将来有类似的问题,如果源代码可用(它是在在这种情况下,在您提供的链接上),您可以自己从源代码构建二进制文件。 See: http://cran.r-project.org/doc/manuals/R-exts.html#Checking-and-building-packages . 请参阅: http//cran.r-project.org/doc/manuals/R-exts.html#Checking-and-building-packages To build a binary on Windows, you'll need Rtools . 要在Windows上构建二进制文件,您需要Rtools

It's a good exercise to go ahead and learn how to build binaries from source. 继续学习如何从源代码构建二进制文件是一个很好的练习。 From your comments above, it seems you tried that but are still having problems. 从您上面的评论来看,您似乎已经尝试过,但仍然遇到问题。 For convenience, a Windows binary of the lsei package built under R 2.15.0 is available here: http://commondatastorage.googleapis.com/jthetzel-public/lsei_1.0-2.zip . 为方便起见,可以在此处获得在R lsei下构建的lsei软件包的Windows二进制文件: httplsei It works for me on both i386 and x64 R 2.15.0 for Windows. 它适用于i386和x64 R 2.15.0 for Windows。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:未为“ arch = x64”安装软件包“ JavaGD” - Error: package 'JavaGD' is not installed for 'arch=x64' 构建我未更改的包突然失败:对于 Vignettes 和 'arch = x64' - Building my unaltered package suddenly fails: for Vignettes and 'arch = x64' R.NET中的错误“错误:未为'arch = i386'安装软件包'RMySQL'” - Error in R.NET “Error: package 'RMySQL' is not installed for 'arch = i386' ” R包中的src- {i386,x64}文件夹 - src-{i386,x64} folders in R package 有关 x64 的 .o 文件的信息不可用:使用 Rcpp 检查 R 包的注意事项 - information on .o files for x64 is not available: NOTE on R package checks using Rcpp R软件包无法在x64上运行示例,但可以在i386和Debian上运行 - R package fails to run examples on x64 but works on i386 and Debian Windows 7 x64在R中的多核处理 - Multicore processing in R on windows 7 x64 在R中执行库(程序包)会报告该程序包是为i386构建的,是否可以将其安装在x86_64系统上? - Executing library(package) in R reports that package was built for i386, can it be installed on an x86_64 system? 在Ubuntu 12.04 x64上使用R 3.0的dbConnect - as.integer(from)中的错误:无法将类型'S4'强制转换为'integer'类型的向量 - dbConnect with R 3.0 on Ubuntu 12.04 x64 --Error in as.integer(from) : cannot coerce type 'S4' to vector of type 'integer' R在R 3.4.2 x64上安装rCharts - R Installing rCharts on R 3.4.2 x64
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM