doRedis 在 Windows 8 x64 中为不同的 Redis 服务器构建返回错误 [英] doRedis return errors in windows 8 x64 for different Redis server build
问题描述
我正在使用链接中的 Redis 服务器:http://cloud.github.com/downloads/rgl/redis/redis-2.4.6-setup-64-bit.exeR 版本3.0.3,doRedis 1.1.0,rredis 1.6.8
I am using the Redis server from the link : http://cloud.github.com/downloads/rgl/redis/redis-2.4.6-setup-64-bit.exe with R version3.0.3, doRedis 1.1.0, rredis 1.6.8
Redis worker 收到作业后立即结束
The Redis worker end immediately after receiving jobs
> redisWorker('jobs')
Waiting for doRedis jobs.
Processing task for job 2 from queue jobs
Error in doTryCatch(return(expr), name, parentenv, handler) :
ERR unknown command 'EVAL'
但是使用链接中的 Redis 服务器:https://github.com/MSOpenTech/redis并在 cygwin 上从源代码构建 Redis 服务器,
But with the Redis server from the link : https://github.com/MSOpenTech/redis and with Redis server build from source on cygwin,
worker 似乎可以处理作业,但 master 收到错误
The worker seems to be able to process job, but the master receive error
> redisWorker('jobs')
Waiting for doRedis jobs.
Processing task for job 9 from queue jobs
Processing task 1 ... from queue jobs jobID 9
Processing task for job 9 from queue jobs
Processing task 2 ... from queue jobs jobID 9
Processing task for job 9 from queue jobs
Processing task 3 ... from queue jobs jobID 9
<小时>
> registerDoRedis('jobs')
> foreach(i = 1:3)%dopar%i
Error in i : task 1 failed - "object '.doRedisGlobals' not found"
推荐答案
我将此问题报告给了 doRedis 和 rredis 包的作者 Bryan Lewis.他回答说他正在努力解决问题,并会在修复后更新 CRAN 上的软件包.同时,您可以降级到没有这个问题的doRedis 1.0.5版.
I reported this issue to Bryan Lewis, the author of the doRedis and rredis packages. He replied that he is working to resolve the problem and will update the package on CRAN when it is fixed. In the meantime, you could downgrade to doRedis version 1.0.5 which doesn't have this problem.
这篇关于doRedis 在 Windows 8 x64 中为不同的 Redis 服务器构建返回错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!