jbrezmes
2011-May-24 22:56 UTC
[R] How to call an external program/web page under R for Mac OS?
I would like to be able to call external programs such as Java scripts (*.jar files) or bring up the browser to a given direction. Can that be done from R? I am running R on a mac OS X system. Thanks again for any suggestions or solutions. Best regards, Jesus Brezmes -- View this message in context: http://r.789695.n4.nabble.com/How-to-call-an-external-program-web-page-under-R-for-Mac-OS-tp3548479p3548479.html Sent from the R help mailing list archive at Nabble.com.
Gustavo Carvalho
2011-May-25 01:04 UTC
[R] How to call an external program/web page under R for Mac OS?
To open a website on the default browser:
system("open http://www.google.com")
Gustavo.
On Tue, May 24, 2011 at 7:56 PM, jbrezmes <jesus.brezmes at gmail.com>
wrote:> I would like to be able to call external programs such as Java scripts
(*.jar
> files) or bring up the browser to a given direction. Can that be done from
> R?
>
> I am running R on a mac OS X system.
>
> Thanks again for any suggestions or solutions.
>
> Best regards,
>
> Jesus Brezmes
>
> --
> View this message in context:
http://r.789695.n4.nabble.com/How-to-call-an-external-program-web-page-under-R-for-Mac-OS-tp3548479p3548479.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>
Paul Hiemstra
2011-May-25 06:54 UTC
[R] How to call an external program/web page under R for Mac OS?
On 05/24/2011 10:56 PM, jbrezmes wrote:> I would like to be able to call external programs such as Java scripts (*.jar > files) or bring up the browser to a given direction. Can that be done from > R? > > I am running R on a mac OS X system. > > Thanks again for any suggestions or solutions. > > Best regards, > > Jesus Brezmes > > -- > View this message in context: http://r.789695.n4.nabble.com/How-to-call-an-external-program-web-page-under-R-for-Mac-OS-tp3548479p3548479.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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.See ?system for executing external calls... cheers, Paul -- Paul Hiemstra, Ph.D. Global Climate Division Royal Netherlands Meteorological Institute (KNMI) Wilhelminalaan 10 | 3732 GK | De Bilt | Kamer B 3.39 P.O. Box 201 | 3730 AE | De Bilt tel: +31 30 2206 494 http://intamap.geo.uu.nl/~paul http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770