Re: [Rd] Unable to reload Rdoc

2012-01-29 Thread Mark Cowley
Gentlemen, Thanks for your insights, all 3 hints are very useful. Mark On 28/01/2012, at 8:29 AM, Henrik Bengtsson wrote: > Related: To simplify reloading a help page after restarting R, I do > have the following in my ~/.Rprofile: > > # Always only the HTML help on the same port > local({ > po

Re: [Rd] Unable to reload Rdoc

2012-01-27 Thread Henrik Bengtsson
Related: To simplify reloading a help page after restarting R, I do have the following in my ~/.Rprofile: # Always only the HTML help on the same port local({ port <- sum(c(1e3,10)*as.double(R.Version()[c("major", "minor")])); ports <- 10*port + 0:9; options(help.ports=ports); }); # Try to

Re: [Rd] Unable to reload Rdoc

2012-01-27 Thread Hadley Wickham
On Fri, Jan 27, 2012 at 3:47 AM, Mark Cowley wrote: > Dear list, > I'm hoping the R guru's can help with an error i've been getting for at least > a year during active package development. > > I have a package loaded & spot a documentation bug, so I: > edit the Rd file (or in the roxygen header +

Re: [Rd] Unable to reload Rdoc

2012-01-27 Thread Prof Brian Ripley
This is simply not supported. Lazy-load databases are cached, and you cannot expect to change them during the R session once they have been used. Spend the few milliseconds needed to start a new session. And R CMD Rdconv is a much simpler way to check a changed .Rd file. On 27/01/2012 09:47,