Hi David, 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? similar to; On R (Windows) Packages - Load package B.R. Stephen L ----- Original Message ---- From: David Scott <d.sc...@auckland.ac.nz> To: Stephen Liu <sati...@yahoo.com> Cc: Ista Zahn <iz...@psych.rochester.edu>; "r-help@r-project.org" <r-help@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? > > > B.R. > 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 -- _________________________________________________________________ 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.sc...@auckland.ac.nz, Fax: +64 9 373 7018 Director of Consulting, Department of Statistics ______________________________________________ R-help@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.