write.table() results in permission denied - common solutions don't work [duplicate]
问题 This question already has answers here : Permission denied when exporting to CSV in R (2 answers) Closed 2 years ago . Can't seem to get permission to write files in R. Using Windows 10. Only one user account in my computer, have tried running RStudio and Rgui as administrator. getwd() confirms 'C:/Users/name/R' is my working directory. I've gone to properties of the folder and SYSTEM and user have all permissions to write. Have tried changing the directory to no avail. Using write.table