I am a new beginner. I have analysed csv files with a code I got and everything seems to work except I can not get it to be exported back to me as an excel file. It seems it does not find my file. What am I missing. How do I choose the file? or exactly what should I put as "file" and how do I connect it? Tried youtube but do not understand.
This is the code and the error:
write.table(gather.data(), file = 'test.csv', sep = ';', row.names = F)
Error in `[.data.frame`(interuption, , 3) : undefined columns selected In addition: Warning message: In read.table(file = filename, sep = ",", stringsAsFactors = F, : Show Traceback Rerun with Debug Error in `[.data.frame`(interuption, , 3) : undefined columns selected
Best regards/ Sanna