Skip to content

opening an external file

4 messages · Applejus, Henrique Dallazuanna, Brian Ripley

#
Hi,

Is there a way to launch a file from an R command? 
To be more precise: I am using windows, and I have an html file in the
working directory of R, and I would like my code in R to automatically
launch the html file in the browser (that is, open the file). Basically, i
would like to simulate a user double-clicking on the html file to open it in
a browser...

Thanks
#
On Mon, 1 Sep 2008, Henrique Dallazuanna wrote:

            
Or more generally on Windows, ?shell.exec (which is what browseURL does by 
default on Windows).

  
    
#
Thank you prof,

Answered by the author of the function in question! :) Who could ask for
more? 

Imad.
Prof Brian Ripley wrote: