[R] Opening a web browser from R?

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Aug 15 16:29:15 CEST 2008


If this is Windows, see shell.exec.  On any platform, see browseURL.
Does help.search("url") not get you there?

On Fri, 15 Aug 2008, J.delasHeras at ed.ac.uk wrote:

>
> Hi,
>
> I was wondering if there's a way in R to open a web browser (such as Internet 
> Explorer, or Firefox or whatever).
> I'm doing some analyses that have associated urls, and it would be nice to 
> have the ability to directly open the relevant page from within R.
> I was looking at the help for 'url' and I can see I can probably access the 
> information I need and display it in my own way, but can I somehow just open 
> the given url with my web browser of choice?
>
> many thanks for any help,
>
> Jose
>
>
> -- 
> Dr. Jose I. de las Heras                      Email: J.delasHeras at ed.ac.uk
> The Wellcome Trust Centre for Cell Biology    Phone: +44 (0)131 6513374
> Institute for Cell & Molecular Biology        Fax:   +44 (0)131 6507360
> Swann Building, Mayfield Road
> University of Edinburgh
> Edinburgh EH9 3JR
> UK
>
> -- 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
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