bwlewis / rredis

R client for Redis
http://illposed.net/
93 stars 25 forks source link

Fix redisInfo on windows server - multiple colons in info string #22

Closed patcpsc closed 10 years ago

patcpsc commented 10 years ago

Hi this is a change for redisInfo to work on windows; on windows it's possible (likely) that the configuration file part of the info looks like this:

config_file:C:\Redis/redis.windows.conf\r\n

when this happens, strsplit splits this into 3 and ultimately leads to an error like:

Error in names(z) <- w[o] : 'names' attribute [70] must be the same length as the vector [69]

patcpsc commented 10 years ago

Found an error - let me recheck