For doing this first you'll have to store the values in a dataframe say df
df<- c(1,2,3,4,5)
Next fetch the values from this dataframe using df.values
Next use the following function to convert the dataframe to a list or say store the values from dataframe to the list
list(df.values.flatten())