[R] How to start default browser on R
satimis at yahoo.com
Tue Nov 23 08:31:55 CET 2010
I see. File: gives the full path to the .html file created/download. Then the
browser will open that file. Thanks.
I don't have hwriter package installed.
A side question, what will be the corresponding command on R for check whether a
package already installed?
On R (Windows)
Packages - Load package
----- Original Message ----
From: David Scott <d.scott at auckland.ac.nz>
To: Stephen Liu <satimis at yahoo.com>
Cc: Ista Zahn <izahn at psych.rochester.edu>; "r-help at r-project.org"
<r-help at r-project.org>
Sent: Tue, November 23, 2010 12:00:36 PM
Subject: Re: [R] How to start default browser on R
On 23/11/10 16:59, Stephen Liu wrote:
> 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?
> Stephen L
You can use it to open a local file on your machine as well. I use this
all the time with hwriter which writes html reports.
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
More information about the R-help