how to create an empty dataframe from a dataframe in r code example Example: R empty datafrane df <-- data.frame()