Re: [R] Running Internet Explorer from Withing R

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Fri 29 Jul 2005 - 16:47:39 EST

On Thu, 28 Jul 2005, Peter Dalgaard wrote:

> "Walter R. Paczkowski" <dataanalytics@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 shell.exec.)

-- 
Brian D. Ripley,                  ripley@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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri Jul 29 16:53:35 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:34:07 EST