You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a Mac, after I install hiredis through homebrew (version 1.0.2) and then install the redux CRAN binary, redis_available() returns FALSE. When I attempt to compile the GitHub version, I see:
I don't use homebrew on my macs, but the script included there generally works fine for most people, and I am not sure why it would not behave there. If you've not installed hiredis the "autobrew" pulls down the required lib. The CRAN mac version should not require compilation at all, and does not depend on anything installed locally as it statically links the hiredis library.
It's possible that you are mixing two things up though. The redux package includes only the client and redux::redis_available() will return FALSE unless you also have a redis server available. There's docs for possible options in the rrq docs. We typically use docker to manage this - you can do
docker run -d --name redis-test -p 127.0.0.1:6379:6379 redis
Thanks, Rich. https://redis.io/docs/getting-started/ helped me figure it out. Turns out I needed brew install redis (I only ran brew install hiredis before). Then, redux::redis_available() returned TRUE when a redis-server process was actively running. Makes sense in hindsight.
On a Mac, after I install
hiredis
through homebrew (version 1.0.2) and then install theredux
CRAN binary,redis_available()
returnsFALSE
. When I attempt to compile the GitHub version, I see:I am not sure what to set for
INCLUDE_DIR
orLIB_DIR
.The text was updated successfully, but these errors were encountered: