Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (19 sloc) 535 Bytes
rredis: An R client for Redis
NOTE
1. Redis is evolving rapidly. The rredis client supports many commands that are
only available in Redis versions 1.3 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()