I have the following code which uses the existing and open Excel application. How to I force R to open a new Excel application and open the workbook in this new Excel station?
xlApp <- COMCreate("Excel.Application")
xlWbk <- xlApp$Workbooks()$Open("S:/x/z/y.xlsb")
xlApp[['Visible']] <- TRUE
You can consider the following approach :