[R-SIG-Mac]How to start browser from within R

Jan de Leeuw deleeuw@stat.ucla.edu
Thu, 21 Feb 2002 08:44:49 -0800


What also works is opening your browser in aqua and then saying in R

system("open /Applications/WWW/OmniWeb.app 
/usr/local/lib/R/doc/html/index.html &")

Of course this should be used with rootless X11.


On Thursday, February 21, 2002, at 08:37 AM, Jan de Leeuw wrote:

> The problem is that there is currently no decent browser available for 
> Darwin.
> I have tried XMosaic, Dillo, Amaya, and Mozilla; but there are various
> problems with each of them. So help.start() does not work. Opening a 
> browser
> on the Aqua desktop does not work either -- what does work is
>
> system("dillo /usr/local/lib/R/doc/html/index.html &")
>
> if you have dillo installed (on the X desktop).,
>
> You can get dillo from fink.
>
> On Thursday, February 21, 2002, at 07:07 AM, Jun Tan wrote:
>
>> Hello, Everyone:
>> I downloaded a R for MacOSX(Darwin/X11). Everythin works well except 
>> the
>> help system. I wanted to show the help information in a browser and I 
>> knew
>> that the command "open" can be used to start the browser. However 
>> when I
>> tried to start browser in R, nothing happened. The command I used was:
>> system("open $HOME/.R/doc/html/index.html")
>> Is there anyone can give me some advices? Thanks.
>>
>> JunTan
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac@stat.math.ethz.ch
>> http://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
>>
>>
===
Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw@stat.ucla.edu
homepage: http://www.stat.ucla.edu/~deleeuw
========================================================
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://www.stat.ucla.edu/~deleeuw/sounds/nomatter.au
========================================================
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac@stat.math.ethz.ch
> http://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
>