[R] system/system2 command
Gabor Grothendieck
ggrothendieck at gmail.com
Sat Dec 18 04:18:17 CET 2010
On Fri, Dec 17, 2010 at 4:36 PM, Jeff Breiwick <jeff.breiwick at noaa.gov> wrote:
> All,
>
> I had a simple function call I used to open up a dos shell running R under
> Win XP:
> system("cmd.exe", wait=FALSE, invisible=FALSE).
>
> This does not work with R 2.12.1 - I get a window that briefly flashes open
> but then disappears. Does anyone know the method to open a DOS command
> window in running R with Win XP? Thank you.
>
This works on my Vista system:
shell("start cmd")
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
More information about the R-help
mailing list