append dataframe r in loop code example Example: r dataframe append row df[nrow(df) + 1,] = c("v1","v2")