The package has three dependencies that should be easily resolvable:
The package should install from source like any other R package. If
the a hiredis library is
found, it will be used. The pkg-config
script is used to
find the hiredis headers and library. Otherwise the embedded hiredis is used. All of
Rcpp, RApiSerialized and RcppRedis can be installed directly from CRAN (which is the recommended
approach) or GitHub.
MessagePack support is optional, and provided by RcppMsgPack package on CRAN which, if installed, is used to provide MessagePack headers for MessagePack serialization.
A backend is needed to run the code. The package will work with any protocol-compatible backend and for example valkey (which is increasingly replacing redis) works just fine.
Run some of the scripts from the demos/
or
examples/
directories.
The package works well, is used in production, and has been on CRAN for some time.
It is however only providing a subset of the Redis API.
This package was derived from an initial fork of an earlier attempt
named ‘rhiredis’ by Wush Wu, and has since been extended in a number of
ways. William Pleasant provided some early patches. Whit Armstrong and
Russell Pierce contributed extensions. We also offered a new home for
the pub/sub mechanism first implemented in the now archived package
rredis
by Bryan W. Lewis.
Dirk Eddelbuettel and Bryan W. Lewis, based on earlier work by Wush Wu and with contributions by William Pleasant, Russell Pierce and Whit Armstrong.
GPL (>= 2)