我正在通过以下链接使用Redis服务器:http : //cloud.github.com/downloads/rgl/redis/redis-2.4.6-setup-64-bit.exe带有R版本3.0.3,doRedis 1.1.0,雷迪斯1.6.8
Redis工作人员在收到工作后立即结束
> 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, 以及使用Redis服务器从cygwin上的源代码构建,
工人似乎能够处理工作,但主人收到错误
> 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版,它没有此问题。