Re: [R] R function to kill a process

From: Duncan Murdoch <>
Date: Wed 20 Jul 2005 - 22:03:51 EST

On 7/20/2005 7:25 AM, Gabor Grothendieck wrote:
> Is there an R function to kill a process? I found one in package
> fork but it is specific to UNIX and I want something that also
> works on Windows. The XP console command, taskkill,
> will do it so I can easily get the effect but it won't work
> on other Windows systems, even 2000 and NT. I found a free utility
> pskill.exe by googling around that does work across 2000/NT/XP
> but was still wondering about something more general in R.

There's no such thing in base R, as far as I know. Killing a process is complicated, and I think the procedure is quite different in Unix and Windows. You want to give the process a chance at a clean shutdown if possible.

Duncan Murdoch mailing list PLEASE do read the posting guide! Received on Wed Jul 20 22:19:12 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:51 EST