Re: [Rcom-l] Closing Excel using rcom

2008-02-14 Thread Prokaj Vilmos
Hi all COM objects of the EXCEL appl. i.e. wbk too sould set to NULL and a garbage collection gc() will release the objects. Vilmos Volchik, Yuri írta: Hi to all, I read some emails regarding closing of Excel from R using objExcel.Quit but it still not working for me. Does anybody ha

[Rcom-l] Closing Excel using rcom

2008-02-14 Thread Volchik, Yuri
Hi to all, I read some emails regarding closing of Excel from R using objExcel.Quit but it still not working for me. Does anybody has a solution to this? This is my code: library(rcom) objExcel<-comCreateObject("Excel.Application") wkb<-comInvoke(comGetProperty(objExcel,"Workbooks"),