[R] system in windows

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Fri Mar 29 19:45:41 CET 2002

On Fri, 29 Mar 2002 ggrothendieck at yifan.net wrote:

> On my system Netscape is in
> C:\Program Files\Netscape\Netscape 6\netscp6.exe
> so it appears that both the directory and the name
> of the executable itself can change between versions
> of Netscape.  Thus relying on a solution that makes use
> of either of these could be problematic if your aim
> is that it be widely applicable.
> I don't know how widely applicable the start method
> is but one improvement you could make over my
> prior suggestion that might increase how widely its
> applicable is to use something like this:
>   start c:\abc.htm
> or this
>   start http://www.google.com
> where c:\abc.htm is the local HTML file or
> http://www.google.com is the URL you want your browser
> to start up with.  That will use your default browser
> and you won't have to specify either the name or
> the path of your browser.

That is already built in as shell.exec(): please read what we have
provided for you.

All versions of Windows have start *if* shell is using the Windows shell:
but it does not need to.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help 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-help-request at stat.math.ethz.ch

More information about the R-help mailing list