[R] opening an external file

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Sep 1 23:13:44 CEST 2008


On Mon, 1 Sep 2008, Henrique Dallazuanna wrote:

> See ?browseURL

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

>
> On Mon, Sep 1, 2008 at 5:06 PM, Applejus <ielkhoury at gmail.com> wrote:
>
>>
>> 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
>> --
>> View this message in context:
>> http://www.nabble.com/opening-an-external-file-tp19260007p19260007.html
>> Sent from the R help mailing list archive at Nabble.com.
>>
>> ______________________________________________
>> 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.
>>
>
>
>
> -- 
> Henrique Dallazuanna
> Curitiba-Paran?-Brasil
> 25? 25' 40" S 49? 16' 22" O
>
> 	[[alternative HTML version deleted]]
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list