Skip to content
Prev 33317 / 398502 Next

RDCOM Client: processes not terminating

Hello

I am using Duncan Lang's RDCOM Client package (available on
omegahat.org) under R 1.7.0 and Windows XP Pro. 

Is this the right forum for questions about this package? In case it is,
here is my question: 

Instances of COM objects do not seem to terminate as expected, but leave
residual processes running. For example, if I try the simple example:

E <- COMCreate("Excel.Application")
E[["Visible"]] <- TRUE
E$Quit()

An Excel application is created and pops up visibly. The E$Quit()
command appears to close the application down as expected, but an EXCEL
process is still left running in the background (as indicated by e.g.
the Windows Task Manager).

Is there a way to cleanly exit the COM instance and shut down the
associated process? 

Thanks,

David