write.xlsx2(data1, paste0(my_path, "data_all.xlsx"), row.names = FALSE, sheetName = "data1") # Write xlsx file
data1 <- data.frame(x = 1:5, # Create three data frames
y = 1:5)
data2 <- data.frame(x1 = 5:1,
x2 = 9:5,
x3 = 7)
data3 <- data.frame(x = letters[1:5],
y = letters[1:5])