I want to import multiple CSV simultaneously in R and I don’t want to merge them. I want them to be quickly accessible to do ICC after. I tried the code below. When I double click on each file in the global environment in Rstudio and error appear in the console Error: unexpected symbol in "View(X.csv". I tried other methods, but they didn’t give the result I wanted, or they didn’t solve my problem.
The 1243 CSV files are in the same folder (i.e., Tableau des features).
The name's files are 16.CSV, 17.CSV …,1257.CSV, 1258.CSV
All the files have the same structure which consists of a data.frame of 5 columns and 83 rows.
library(data.table)
setwd("/Users/T/Desktop/Rstudio/Tableau des features/")
temp = list.files(pattern="*.csv")
for (i in 1:length(temp)) assign(temp[i], read.csv(temp[i]))