I'm trying to export data into an excel file with the specific sheet name. Which package and example code are more convenient to use.
write_xlsx()
I want to do below
write_xlsx( data = "result", sheet = "first", excel = "Constraint.xlsx")
Once run the script, the following error is out.
Error in write_xlsx(data = "result", sheet = "first", excel = "Constraint.xlsx") :
unused arguments (data = "result", sheet = "first", excel = "Constraint.xlsx")
How to overcome, please suggest to me!