[Rd] how to extract directory with HTML version of help pages?
02 Nov 2000 12:05:09 -0800
>>>>> "PBDR" == Prof Brian D Ripley <email@example.com> writes:
PBDR> But it's whateverlibrary/package/html/whateverfunction.html
Correct, I'm slipping.
PBDR> You both overlooked the package part and the possibility of
PBDR> multiple libraries. (To make sure we have the terminology
PBDR> straight, in R there are libraries of packages, and in S
PBDR> libraries of sections (S3) or chapters (S4). I didn't
PBDR> invent this ....)
PBDR> Since ESS apparently asks R for the text help page (or it
PBDR> does it just grab the contents?), it could in principle do
PBDR> the same for the html help page. That is, help could be
PBDR> asked when running under ESS to return the filename, not
PBDR> send the file to the OS to be viewed (Windows) or call
PBDR> `browser -remote "openURL(foo.html)' on it.
ESS does the equivalent of cut-and-paste between the prompts.
So if there was an option to return the html, Emacs could render it
(provided W3 was installed).
This would be an adequate solution, and easier that the one I
PBDR> As far as I can see only the running R session can do this
PBDR> correctly, and it tooks several goes to get it right (if we
PBDR> have). What the right file is depends on the history of the
PBDR> R session.
Which was part of the point of querying the session (I think I
mis-stated run-time, but I meant at the time point of the
Thanks, this helps.
A.J. Rossini Rsrch. Asst. Prof. of Biostatistics
BlindGlobe Networks (home/default) firstname.lastname@example.org
UW Biostat/Center for AIDS Research email@example.com
FHCRC/SCHARP/HIV Vaccine Trials Net firstname.lastname@example.org
FHCRC: M/Tu: 206-667-7025 (fax=4812) | Voicemail is pretty sketchy
CFAR: W/F: 206-731-3647 (fax=3694) | Email is far better than phone
UW: Th/F: 206-543-1044 (fax=3286) | Change last 4 digits of phone for fax
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: email@example.com