Just wonder if there exists something like R.cache package but working not with hard drive but with RAM instead?
Or maybe there is some hack possible in R, to make R.cache package believe that it uses hard drive, but to store it’s cache to virtual drive of some kind in RAM?
I’ve also found this great question and tried memoise package, but it turned out to be slower then R.cache for my problem, though it works on RAM.
Perhaps you could make a RAM disk and specify that drive as the storage destination for your cache, using
R.cache.