[R] Running Internet Explorer from Withing R

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jul 29 08:47:39 CEST 2005

On Thu, 28 Jul 2005, Peter Dalgaard wrote:

> "Walter R. Paczkowski" <dataanalytics at earthlink.net> writes:
>> Good morning,
>> Is it possible to open an html file using IE but from within R? I
>> wrote a small function to generate tables in html but I'd like to
>> write another function to call IE and open the html file.
> browseURL() (if it exists on Windows)

It does.

And more generally for any file type, shell.exec (only on Windows) opens 
a file with the associated application. (browseURL is built on top of 

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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list