using write.xlsx to replace an existing sheet with R package xlsx
问题 I am using package xlsx Version:0.5.7 Date: 2014-08-01. in R version 3.0.1 (2013-05-16) -- "Good Sport" Platform: i386-w64-mingw32/i386 (32-bit). I have an xlsx file with at least 2 sheets (say A and B). I need to read data from A, edit them and save them in B. This has to be done on a periodical base. I am able to read data from A with read.xlsx . After editing the data frame I want to save it in an existing sheet B in the same xlsx file. I try with this line write.xlsx(down, paste0(root,'