Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An R interface to memcached
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
R
src
.gitignore
DESCRIPTION
NAMESPACE
README.md
configure
configure.in

README.md

Rmemcached

Installation

This is how I installed it, its ugly for now, but it works.

R CMD INSTALL ./rmemcached

You might need to provide the path to libmemcached like so:

R CMD INSTALL ./rmemcached --configure-args=--with-libmemcached-path=/usr/local/

Examples

library(rmemcached)
server <- cache.connect("127.0.0.1", 11211)
cache.set(server, "foo", "1000")
cache.set(server, "bar", "2000")
cache.get(server, "foo")
cache.get(server, "baz")
Something went wrong with that request. Please try again.