create a new dataframe with selected columns r