Retrieve a value from Redis.
Retrieve a value identified by a key from the Redis database.
redisGet(key, ...)
key |
The (required) character identifier for the value to be looked up. |
... |
Optional additional arguments passed to |
The key must not contain spaces or newline characters (otherwise an error will
be thrown). The raw
option is used to retrieve binary data from other
languages.
The value corresponding to the specified key, or NULL if the matching key contained no value or if no matching key was found.
Use the raw=TRUE
option to return Redis values in raw binary form, which
can optionally later be converted to character using the rawToChar
function.
A Redis value that does not represent a serialized R value is returned as a
character
R value with an attribute named "redis string value." Subsequent
uploads of that value to Redis will send the character-valued data in raw form
(not as a serialized R value), preserving the original nature of the data in
Redis.
B. W. Lewis
http://redis.io/commands
## Not run: redisSet('x',runif(5)) redisGet('x') ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.