Is there a way to save a file to a specific folder inside your working directory when exporting from R?

Is this what you mean?

write.csv(data, file='data/output/data.csv')
1 Like