redisSet(key, value, NX = FALSE)
In order to store strings that can easily be read by other clients, first
convert the character object using the
charToRaw
function as shown in the
examples.
redisGet
## Not run:
# # Store an R object with the key 'x':
# redisSet('x',runif(5))
# ## End(Not run)
## Not run:
# # Store a string that can be easily read by other clients:
# redisSet('x',charToRaw('Hello Redis clients'))
# ## End(Not run)
Run the code above in your browser using DataLab