Circular/ring buffers in R and C

WWW: https://github.com/mrc-ide/ring
