Thank you williaml. I tired it . I keep getting this error
Error: cannot allocate vector of size 27.5 Mb.
This is my code
library(tidyverse)
library(fs)
library(readr)
library(vroom)
file_paths <- dir_ls("path") # Data is in this path. all 42 csv files in a folder
data <- file_paths %>%
map(read_csv) %>% # read in all the files individually, using the function read_csv() from the readr package
reduce(rbind) # reduce with rbind into one dataframe
data