I am trying to transfer my dataset from r to an excel file. I have read through everything on here, and I am still getting the same error. Any help in this matter is greatly appreciated.
Here is my code:
write_xlsx( county, "C:/Users/tj370/OneDrive/Documents" = tempfile(fileext = ".xlsx"),
col_names = TRUE, format_headers = TRUE, use_zip64 = FALSE)
Here is the error:
Error in write_xlsx(county, C:/Users/tj370/OneDrive/Documents
= tempfile(fileext = ".xlsx"), :
unused argument (C:/Users/tj370/OneDrive/Documents
= tempfile(fileext = ".xlsx"))