对于不同的Redis服务器版本,doRedis在Windows 8 x64中返回错误 [英] doRedis return errors in windows 8 x64 for different Redis server build

查看:115
本文介绍了对于不同的Redis服务器版本,doRedis在Windows 8 x64中返回错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过链接使用Redis服务器: http://cloud.github.com /downloads/rgl/redis/redis-2.4.6-setup-64-bit.exe 使用R版本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工作者在收到工作后立即结束

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,

工人似乎能够处理工作,但主人会收到错误

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.

这篇关于对于不同的Redis服务器版本,doRedis在Windows 8 x64中返回错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆