Exporting a df to Excel

infoart.ca
Feb 6, 2022

A quick way to export a df to your working directory using a one-line code!

package name: writexl

library('writexl')write_xlsx(df, 'filepath')

or just

write_xlsx(df, 'filename.xls')

Enjoy!

--

--

infoart.ca

Center for Social Capital & Environmental Research | Posts by Bishwajit Ghose, lecturer at the University of Ottawa