Hi, Each > help.start() generates a new tree of the R help system, somewhere in 127.0.0.1:xxx, each xxx being difeerent. This tree disappears when exiting R. How can the current help tree copied to a permanent place for reference outside a running R? This would be practical for not having to enter M-x R . TIA --Christian -- Christian W. Hoffmann, CH - 8915 Hausen am Albis, Switzerland Rigiblickstrasse 15 b, Tel.+41-44-7640853 c-w.hoffmann at sunrise.ch, christian at echoffmann.ch, www.echoffmann.ch
On Monday, October 22, 2012, Christian Hoffmann wrote:> Hi, > > Each > help.start() generates a new tree of the R help system, somewhere > in 127.0.0.1:xxx, each xxx being difeerent. This tree disappears when > exiting R. How can the current help tree copied to a permanent place for > reference outside a running R? This would be practical for not having to > enter M-x R . > >If I understand correctly the docs correctly, the help system is dynamically generated/served by an asynchronous server within R so you'll need to have an R instance going somewhere. In short, not sure it's possible, but far outside my expertise and not unlikely to be quite wrong. Are the various places that the help system is served online sufficient for your purposes? Cheers, RMW> TIA > > --Christian > > -- > Christian W. Hoffmann, > CH - 8915 Hausen am Albis, Switzerland > Rigiblickstrasse 15 b, Tel.+41-44-7640853 > c-w.hoffmann@sunrise.ch, > christian@echoffmann.ch, > www.echoffmann.ch > > ______________________________**________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help> > PLEASE do read the posting guide http://www.R-project.org/** > posting-guide.html <http://www.R-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
On 10/22/2012 06:24 PM, Christian Hoffmann wrote:> Hi, > > Each > help.start() generates a new tree of the R help system, somewhere > in 127.0.0.1:xxx, each xxx being difeerent. This tree disappears when > exiting R. How can the current help tree copied to a permanent place for > reference outside a running R? This would be practical for not having to > enter M-x R . >Hi Christian, I used to add a menu item labelled "R help" that opened a browser to the R document index page. If you want it to open automatically when you start R, you can add the command to the .First function. The current system is so convenient for me that I no longer do this. Jim
On 12-10-22 3:24 AM, Christian Hoffmann wrote:> Hi, > > Each > help.start() generates a new tree of the R help system, somewhere > in 127.0.0.1:xxx, each xxx being difeerent. This tree disappears when > exiting R. How can the current help tree copied to a permanent place for > reference outside a running R? This would be practical for not having to > enter M-x R .Michael explains why you can't do this. You can choose the xxx value consistently rather than randomly if you want; see ?tools::startDynamicHelp. So you could have an R instance running in the background and serving whatever help you wanted, and use a consistent URL to access it. Duncan Murdoch
>>>>> R Michael Weylandt <michael.weylandt at gmail.com> >>>>> on Mon, 22 Oct 2012 09:06:35 +0100 writes:> On Monday, October 22, 2012, Christian Hoffmann wrote: >> Hi, >> >> Each > help.start() generates a new tree of the R help >> system, somewhere in 127.0.0.1:xxx, each xxx being >> difeerent. This tree disappears when exiting R. How can >> the current help tree copied to a permanent place for >> reference outside a running R? This would be practical >> for not having to enter M-x R . >> >> > If I understand correctly the docs correctly, the help > system is dynamically generated/served by an asynchronous > server within R so you'll need to have an R instance going > somewhere. In short, not sure it's possible, but far > outside my expertise and not unlikely to be quite wrong. Fortunately, it *is* still possible. Otherwise, one of the historically oldest and still existing services to the R community, http://stat.ethz.ch/R-manual/ http://stat.ethz.ch/R-manual/R-devel/doc/html http://stat.ethz.ch/R-manual/R-patched/doc/html would no longer be possible. However to make it possible, you must install R from the sources, and configure it using --enable-prebuilt-html > Are the various places that the help system is served > online sufficient for your purposes? They should be, I'd say. If they aren't, you need to build R from the sources.... not a bad exercise anyways ;-) Martin Maechler, ETH Zurich > Cheers, RMW >> TIA >> >> --Christian >> >> -- >> Christian W. Hoffmann, CH - 8915 Hausen am Albis, >> Switzerland Rigiblickstrasse 15 b, Tel.+41-44-7640853 >> c-w.hoffmann at sunrise.ch, christian at echoffmann.ch, >> www.echoffmann.ch