I just processed data. And I have to export it in Excel. So i use this code
write.xlsx(comercio, file = "Importaciones de bienes de consumo .xlsx",