gdemin / excel.link

Convenient Data Exchange between R and Microsoft Excel
56 stars 16 forks source link

Opening new workbook only if not already open #6

Closed randomee closed 7 years ago

randomee commented 7 years ago

Right now, if I open a workbook, then try to open it again, R hangs while excel asks if I want to re-open & discard changes.

It'd be really nice if there were a wrapper to open a file if and only if it's not open yet. A singleton pattern of sorts.

I know I can wrap xl.workbook.open to call/check xl.workbooks 1st, but it seems it would be common issue.

Thanks!

gdemin commented 7 years ago

Ok, I will fix it in the next version/

randomee commented 7 years ago

great. Thanks!

gdemin commented 7 years ago

Fixed in version 0.9.7