I'm having trouble adding a series of DataFrames into a workbook. I'm runnug the following code:
wb <- createWorkbook()
addWorksheet(wb,sheetName="sheet1")
writeData(wb,"sheet1",sexodf,startCol = 1,startRow = 1)
where sexodf is the dataframe to be added into the sheet. The last line outputs the following error: Error in build_cell_types_integer(classes = colClasses, n_rows = nRows) : function 'Rcpp_precious_remove' not provided by package 'Rcpp'
I'm not really sure what it means or how to fix it.
The first two lines run perfectly, however, when I check the type of wb it shows "S4" so I'm wondering whether the problem lies there and how to fix it. Thankyou very much for you help.