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. Thanks, Walt Paczkowski ________________________ Walter R. Paczkowski, Ph.D. Data Analytics Corp. 44 Hamilton Lane Plainsboro, NJ 08536 (V) 609-936-8999 (F) 609-936-3733
"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) -- O__ ---- Peter Dalgaard ??ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
see ?browseURL ======= 2005-07-29 00:08:00 伳侜佋佢伬伌佇伵佒佇佇伌伒伬仯伜======>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. > >Thanks, > >Walt Paczkowski > >________________________ > >Walter R. Paczkowski, Ph.D. >Data Analytics Corp. >44 Hamilton Lane >Plainsboro, NJ 08536 >(V) 609-936-8999 >(F) 609-936-3733 > >______________________________________________ >R-help at 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= = = = = = = = = = = = = = = = = = = 2005-07-29 ------ Deparment of Sociology Fudan University Blog:http://sociology.yculblog.com
Walt,
As Peter said - browsURL(), which does work on Windows (well XP SP2 for
definite).
For example, to open a google search window:
browseURL("http://www.google.co.uk")
Regards,
Mike
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Walter
> R. Paczkowski
> Sent: 28 July 2005 17:08
> To: r-help at stat.math.ethz.ch
> Subject: [R] Running Internet Explorer from Withing R
>
> 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.
>
> Thanks,
>
> Walt Paczkowski
>
> ________________________
>
> Walter R. Paczkowski, Ph.D.
> Data Analytics Corp.
> 44 Hamilton Lane
> Plainsboro, NJ 08536
> (V) 609-936-8999
> (F) 609-936-3733
>
> ______________________________________________
> R-help at 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
>
This might be slightly off topic, but Rpad() is a good library that displays tables in HTML format in a brower very well. You can also use it to easily make a gui for your program/code. HTH, Roger On 7/28/05, Walter R. Paczkowski <dataanalytics at earthlink.net> wrote:> 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. > > Thanks, > > Walt Paczkowski > > ________________________ > > Walter R. Paczkowski, Ph.D. > Data Analytics Corp. > 44 Hamilton Lane > Plainsboro, NJ 08536 > (V) 609-936-8999 > (F) 609-936-3733 > > ______________________________________________ > R-help at 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 >