But I got this error:
[ERROR] workbook_close(): Error creating '/home/Documents/family/data_family_iht.xlsx'. System error = No such file or directory
Error: Error in libxlsxwriter: 'Error creating output xlsx file. Usually a permissions error.'
Same when I exported as csv: write.csv(x_ihs, file="/home/Documents/family/data_family_iht.csv")
I got this error:
Error in file(file, ifelse(append, "a", "w")) : cannot open the connection
Shouldn't the filepath have a username of some sort between /home and documents? Something to the effect of /home/Eman/Documents/family... for a Linux system?
In that case, I would guess you have a Linux permissions error as the original error message indicates. Did you create the family folder with the username you are currently using? Similarly, if you change the directory to just /home/<username>, can you write there?