[R] help page becomes unavailable after a package is reinstalled

Yihui Xie xie at yihui.name
Sat Jul 16 23:29:17 CEST 2011


Thanks a lot! I did not save the "200ms". I did exactly what you
described, since that is the only way to go. So I ended up with
restarting R hundreds of times a day.

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Sat, Jul 16, 2011 at 4:02 AM, Prof Brian Ripley
<ripley at stats.ox.ac.uk> wrote:
> This is by design, *if* you have already used the help in the package. The
> help database is cached.
>
> I simply don't see you why you believe that you need to save the 200ms it
> takes to start R: you can view the new documentation in a different R
> instance.
>
> On Sat, 16 Jul 2011, Rolf Turner wrote:
>
>>
>> I can verify that I get exactly the same error (also R 2.13.1 under
>> Ubuntu).
>> No idea what to *do* about it, though. :-(
>>
>>   cheers,
>>
>>       Rolf Turner
>>
>> On 16/07/11 11:25, Yihui Xie wrote:
>>>
>>> Hi all,
>>>
>>> I have noticed this problem ever since R changed its static HTML help
>>> pages to dynamic help pages: when I reinstall a package and try to
>>> view any help page of this package, I always get this error (in the
>>> terminal or html page)
>>>
>>> Error in fetch(key) : internal error -3 in R_decompress1
>>>
>>> As a package developer, I often have to reinstall a package again and
>>> again, so I wish I do not have to restart R to see the new
>>> documentation. Anybody ever met a similar situation and has an idea?
>>> Thanks!
>>>
>>> I use R 2.13.1 under Ubuntu, and it also appears in Windows 7.
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
> --
> Brian D. Ripley,                  ripley at stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>



More information about the R-help mailing list