Dear Jason,
Try this:

shell.exec('C:/WINDOWS/NotePad.exe')

HTH,

Jorge


On Tue, Mar 24, 2009 at 4:14 PM, Jason Rupert <jasonkrup...@yahoo.com>wrote:

>
> For example, from within an R script I would like to be able to launch
> NotePad.exe.
>
> Is there an R call for launching Notepad.exe from within R?
>
> I've tried the following, but they don't seem to work:
> > system(paste('"C:/WINDOWS/NOTEPAD.exe"'), wait = FALSE)
> > system("C:/WINDOWS/NOTEPAD.exe", wait = FALSE)
> > system("NOTEPAD", wait = FALSE)
>
> That is, these do not bring up the Notepad GUI.
>
> Thanks for any insights.
>
> ______________________________________________
> 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.
>

        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to