Something like this can be useful
sapply(paste("C:/Users/rohit.gupta/Desktop/Data For Rohit/
PacketDetails/DUMP_DATA_PktLevel_",
1:100, sep=".csv"),
read.csv)
Note that if your .csv files have headers, specific type delimiters and other features you can control them by setting the correct arguments in read.csv
inside sapply
call, as in:
sapply(paste("C:/Users/rohit.gupta/Desktop/Data For Rohit/
PacketDetails/DUMP_DATA_PktLevel_",
1:100, sep=".csv"),
read.csv, header=TRUE, dec = ".") # etc