[R] Opening a web browser from R?
Christos Hatzis
christos.hatzis at nuverabio.com
Fri Aug 15 15:43:13 CEST 2008
Jose,
I think shell.exec should do what you want:
shell.exec("http://www.yahoo.com")
-Christos
> -----Original Message-----
> From: r-help-bounces at r-project.org
> [mailto:r-help-bounces at r-project.org] On Behalf Of
> J.delasHeras at ed.ac.uk
> Sent: Friday, August 15, 2008 6:56 AM
> To: r-help at r-project.org
> Subject: [R] Opening a web browser from R?
>
>
> 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.
>
>
More information about the R-help
mailing list