Thank you but I do not have issues with using the 'addDataFrame' function, but I need the library I should install to be able to use the function. see code
wb <- loadWorkbook("spccc.xlsx")
addDataFrame(SPC_NEW,getSheets(wb$SPC),col.names = FALSE,row.names = FALSE, startRow = 5)
saveWorkbook(wb, )
I cant use rbind() because I am creating a sheet first in an excel and dropping another dataframe in that same sheet. This is because I can only run one result per script