df<-data.frame(a=c(1,2,3,4,5),
b=c(2,3,4,5,6))
write.csv(df,"C:\Users\bubbles\Desktop\df.csv")
Say I have a new set of data and would like to add to the same CSV file, how should I go about it?
df_new_data<-data.frame(a=c(1,2,3,4,5),
b=c(2,3,4,5,6))