A cache library written in R