I use this option to save the data into an excel file
write.xlsx(df, 'C:/Users/User/Desktop/mydata.xlsx')
However I receive this error:
Error in stri_conv(v[flg], from = "", to = "UTF-8") :
memory allocation error
What can I do to fix it?