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

2011-07-16 Thread Yihui Xie
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 Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedec

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

2011-07-16 Thread Prof Brian Ripley
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

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

2011-07-15 Thread Yihui Xie
Unfortunately, no. We can use any package to reproduce this error, e.g. rgl > library(rgl) > options(help_type = "text") > ?rgl.open # works fine > install.packages('rgl') # reinstall it Installing package(s) into β€˜/home/yihui/R/x86_64-pc-linux-gnu-library/2.13’ (as β€˜lib’ is unspecified) trying

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

2011-07-15 Thread Gabor Grothendieck
On Fri, Jul 15, 2011 at 8:14 PM, 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. :-( > You could check if text help works: options(help_type = "text") ?by or help("by", help_type = "text") -- Statisti

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

2011-07-15 Thread Rolf Turner
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 page

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

2011-07-15 Thread Yihui Xie
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