doRedis return errors in windows 8 x64 for different Redis server build

纵饮孤独 提交于 2019-12-20 05:03:26

问题


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

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'

But with the Redis server from the link : https://github.com/MSOpenTech/redis and with Redis server build from source on cygwin,

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"

回答1:


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.



来源:https://stackoverflow.com/questions/22340688/doredis-return-errors-in-windows-8-x64-for-different-redis-server-build

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!