I have current code in R which saves output to a .csv file. How do I overwrite this file each time I get output?

I currently have the following code in R: getABCD(‘sample.csv’,save=’/Users/Home/Desktop/sample2.csv’) to save output as sample2.csv. I am using the code “save” since this allows the .csv file to be created and opened while R is still open, as opposed to the write.csv command which does not allow the .csv file to be opened while R is…

Details