Skip to content

help system does not work (PR#499)

3 messages · jgm@qed.econ.queensu.ca, Thomas Lumley, Peter Dalgaard

#
Thanks for the very speedy response.

I just tried again, but this time on my office machine, and I am extremely
embarrassed to report that everything seems to work fine! The only problem
is that the headings under "Data Analysis with R" are not actually links,
but no doubt that is because they are not (yet) supposed to be. 

It seems to be only on my home machine, where I was trying to experiment
with R last night, that there is a problem. I think the problem must have
something to do with the way in which netscape is installed on the two
machines. "which netscape" yields different results on the two of them.

I am pretty sure I can solve the problem now. I presume that R is passing
a command like "netscape URL" to the operating system, and I am pretty
sure that "URL" is not getting through on my home machine because it is
finding a script instead of the real executable. I think I just need to
change the script to pass its arguments to netscape. Unfortunately, I
cannot check the fix while I am at the office.

Incidentally, is there some way I can change the command that R is
issuing? That way, I could point it directly to a particular executable (I
have several netscapes).  Also, I would like to experiment with having it
fire up lynx in an xterm rather than netscape, if that is possible.
On 22 Mar 2000, Douglas Bates wrote:

            
Yes, these directories are present on both machines, and the contents seem
to be fine. I think R itself is working fine.
Incredible weather, actually. It is bright and sunny and warm enough that
a jacket really isn't needed.

I am very sorry to have bothered you. Should I do something to close the
bug report?

Cheers, James.

James G. MacKinnon                       Department of Economics
    phone: 613 533-2293                  Queen's University
      Fax: 613 533-2257                  Kingston, Ontario, Canada
    Email: jgm@qed.econ.queensu.ca       K7L 3N6



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Wed, 22 Mar 2000 jgm@qed.econ.queensu.ca wrote:
options(browser="browser")

However, to start in a xterm you need to be a bit clever. The browser is
invoked as
 
browser URL &

and you will probably need a script to set up lynx in a xterm in such a
way that it opens the file and stays open. The first four things I tried
didn't work.


Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Thomas Lumley <thomas@biostat.washington.edu> writes:
Actually, the real problem is that it is getting passed

 -remote openURL(file:/long/and/winded/path/ls.html)

so you'd need to feed it to something (perl?) to extract the actual
URL. Then just use "xterm -e lynx $URL".