library(RDCOMClient) e <- COMCreate("Excel.Application") book = e[["Workbooks"]]$Open(gsub("/", "\\\\", system.file("examples", "duncan.xls", package="RDCOMClient"))) book$Close() e <- NULL gc() # Check the task manager to see if the EXCEL.exe is still there.