wush978 / rredis

R client for Redis

Home Page:http://illposed.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rredis: An R client for Redis

NOTE

Redis is evolving rapidly. The rredis client supports many commands that are
only available in Redis versions 2.* and higher.

EXAMPLE

> library(rredis)
> redisConnect()         
> redisSet('foo', runif(10))
> bar <- redisGet('foo') 
> bar
 [1] 0.93499818 0.47159536 0.30597259 0.58325228 0.41589498 0.63914212
 [7] 0.34658694 0.08633471 0.18111369 0.15763507

> redisMSet(list(x=pi,y='Cazart',z=runif(2)))
> redisMGet(list('z','y'))
$z
[1] 0.1155711 0.7166137

$y
[1] "Cazart"

> redisClose()


PERFORMANCE

Consider using the redisSetPipeline function to enable pipelining, and
also read help about options available to the redisConnect function.

About

R client for Redis

http://illposed.net/

License:Apache License 2.0


Languages

Language:R 97.8%Language:C 2.2%