read csv file as data frame in r code example Example: read csv r dataframe df <- read_csv('my_csv_file.csv')