开发者

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. Since the upgrade, I've been having problem loading the following package (lsei.zip).

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

> utils:::menuInstall开发者_开发技巧Local()
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. (e.g. 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. So I think it should be something associated with Windows but not sure what it is.

Much appreciated if someone can point me to the right direction and help me resolve this issue.

Thanks in advance. 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. See: http://cran.r-project.org/doc/manuals/R-exts.html#Checking-and-building-packages . To build a binary on Windows, you'll need 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 . It works for me on both i386 and x64 R 2.15.0 for Windows.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜