myshell {MIfuns}R Documentation

Run a DOS command without opening a command window

Description

myshell runs a DOS command without opening a command window. myshell(cmd) is just a synonym for quote{system(paste(Sys.getenv("COMSPEC"),"/c",cmd), intern = FALSE, wait = TRUE, input = NULL, show.output.on.console = FALSE, minimized = FALSE, invisible = TRUE)}

Usage

        myshell(cmd)

Arguments

cmd DOS command as a character string

Value

See documentation for system.

Author(s)

Developed by Metrum Institute (Bill Gillespie and others).

References

MIfuns package available from Metrum Institute website (http://metruminstitute.org/).


[Package MIfuns version 3.2.9 Index]