- Notifications
You must be signed in to change notification settings - Fork16
R interface to Redis / Valkey via hiredis
License
eddelbuettel/rcppredis
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
The package has three dependencies that should be easily resolvable:
- hiredis, the main C library for redis, eg vialibhiredis-dev on Debian or Ubuntu; asa fallbackhiredis is also included
- Rcpp for seamless R and C++ integration (onCRAN)
- RApiSerialize for C-level serializationfrom the R API (onCRAN) , and ifso, of sufficient vintage80
The package should install from source like any other R package. If the ahiredis library is found, it will be used. Thepkg-config script is used to find the hiredis headers and library. Otherwise theembeddedhiredis is used. All of Rcpp, RApiSerializedand RcppRedis can be installed directly fromCRAN (which isthe recommended approach) or GitHub.
MessagePack support is optional, and provided byRcppMsgPack package onCRAN which, if installed, is used toprovideMessagePack headers forMessagePack serialization.
A backend is needed to run the code. The package will work with any protocol-compatible backend andfor examplevalkey (which is increasingly replacing redis) works just fine.
Run some of the scripts from thedemos/ orexamples/ directories.
The package works well, is used in production, and has been onCRAN 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 ofways. William Pleasant provided some early patches. Whit Armstrong andRussell Pierce contributed extensions. We also offered a new home for thepub/sub mechanism first implemented in the now archived packagerredis byBryan W. Lewis.
Dirk Eddelbuettel and Bryan W. Lewis, based on earlier work by Wush Wu andwith contributions by William Pleasant, Russell Pierce and Whit Armstrong.
GPL (>= 2)
About
R interface to Redis / Valkey via hiredis
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors8
Uh oh!
There was an error while loading.Please reload this page.