Displaying 1 result from an estimated 1 matches for "nbooks".
Did you mean:
books
2009 Jul 09
1
R-help Digest, Vol 77, Issue 9
Hi,
This may be due to several reasons. That I can think about:
1) Ensure you close *all* possibly open workbooks:
nBooks <- xl[["Workbooks"]]$Count();
for (i in seq_len(nBooks))
xl[["Workbooks"]]$item(i)$Close(SaveChanges=FALSE);
2) The excel application reference does not seem to be really released until the garbage collector runs. So this may help:
xl$Quit();
xl <- NULL;
gc();
3)...