On 17/12/2010 4:36 PM, Jeff Breiwick 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 is a new bug in 2.12.1, which I am about to fix in R-patched. The problem was that it was passing a null input stream to cmd.exe, which saw an immediate EOF, and quit. A similar thing happened in Rterm, where system("cmd") should drop into a command shell in the same window, but it would immediately exit.

Duncan Murdoch

______________________________________________
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