On 10/02/2015 07:55, Ssuhanchen wrote:
Hi
I would like to query that if it is possible for R to terminate a program
such as notepad, word, etc.?
If yes, what kind of function should I use?
The POSIX way to do this is to use 'kill', so try ??kill in your R
process or use system() to call your favourite OS utility to do this.
--
Brian D. Ripley, rip...@stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford
1 South Parks Road, Oxford OX1 3TG, UK
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.