[R] How to start default browser on R

Stephen Liu satimis at yahoo.com
Tue Nov 23 04:59:02 CET 2010


Hi Ista,

I see.  Your advice works.  Thanks

even without:
browser="C:/Program Files/Internet Explorer/iexplore.exe")

For non default browser it needs;
browser="C:/Program Files/Mozilla Firefoe/firefox.exe"


What will be "file:" used for?


B.R.
Stephen L



----- Original Message ----
From: Ista Zahn <izahn at psych.rochester.edu>
To: Stephen Liu <satimis at yahoo.com>
Cc: David Scott <d.scott at auckland.ac.nz>; "r-help at r-project.org" 
<r-help at r-project.org>
Sent: Tue, November 23, 2010 11:39:15 AM
Subject: Re: [R] How to start default browser on R

Hi Stephen,
I'm not sure if this is the problem, but you almost certainly do not
want the "file:" part. Try

browseURL("http://www.r-project.org")

-Ista

On Mon, Nov 22, 2010 at 10:26 PM, Stephen Liu <satimis at yahoo.com> wrote:
> Hi David,
>
> Thanks for your advice.
>
> According to the Example on ?browseURL I tried:
>
> 1)
> browseURL("file:http://www.r-project.org", browser="C:/Program Files/Internet
> Explorer/iexplore.exe")
>
> It starts a small windows asking for permission to accept ActiveX
> -> OK
>
> IE doesn't start
>
> 2)
> browseURL("file:http://d:/R/R-2.5.1/html/index.html", browser="C:/Program
> Files/Internet Explorer/iexplore.exe")
>
> same result as 1) above
>
>
> What I have missed?  TIA
>
>
> B.R.
> Stephen L
>
>
>
>
> ----- Original Message ----
> From: David Scott <d.scott at auckland.ac.nz>
> To: Stephen Liu <satimis at yahoo.com>
> Cc: "r-help at r-project.org" <r-help at r-project.org>
> Sent: Tue, November 23, 2010 10:16:04 AM
> Subject: Re: [R] How to start default browser on R
>
>  On 23/11/10 14:20, Stephen Liu wrote:
>> Hi folks,
>>
>> Win7 64 bit
>> IE 64 bit
>>
>> How to start IE on R?  TIA
>>
>> B.R.
>> Stephen L
>>
>>
> ?browseURL
>
> --
> _________________________________________________________________
> David Scott    Department of Statistics
>        The University of Auckland, PB 92019
>        Auckland 1142,    NEW ZEALAND
> Phone: +64 9 923 5055, or +64 9 373 7599 ext 85055
> Email:    d.scott at auckland.ac.nz,  Fax: +64 9 373 7018
>
> Director of Consulting, Department of Statistics
>
>
>
> ______________________________________________
> 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.
>



-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org






More information about the R-help mailing list