rstudio export table to excel code example
Example: print dataframe to excel r
library("writexl")
write_xlsx(the dataframe name,"path to store the Excel file\\file name.xlsx")
library("writexl")
write_xlsx(the dataframe name,"path to store the Excel file\\file name.xlsx")