Error in fetch(key) : internal error -3 in R_decompress1
r
Solution
I asked the same question in R-help and one R core replied "this is by design" which means you cannot do anything about it except restarting R: https://stat.ethz.ch/pipermail/r-help/2011-July/283916.html (although I still do not understand why this design cannot refresh the cache database...)
Problem
I have the following problem: I have some development version of my package loaded in R session I edited the source file. I detach it and do: ``` system("R CMD check realizedvolatility") system("R CMD build realizedvolatility") system("R CMD install realizedvolatility_0.1.tar.gz") library(realizedvolatility) ``` Until now, everything works. Now, if I try to bring up help file, for example `?realizedvolatility` , the error ``` Error in fetch(key) : internal error -3 in R_decompress1 ``` occurs. The remedy is to restart entirely the R session, then everything works. Is there any way to make it work within one session? I tried detaching from namespace, installing with various options, nothing worked. I am using Mac OS X Lion, and R 2.14.1