Writing mutiple csv files into multiple data frames in R -


i tried write multiple csv files same amount of columns , rows multiple data frames, can accessed in way this:

file[1] #outputs whole content of first csv file file[2] #outputs whole content of second csv file 

and on...

i have saved 1 data frame, neccesary values can't accessed in such way:

files = list.files(pattern="*.csv") myfiles = do.call(rbind, lapply(files, function(x) read.csv(x, stringsasfactors = false))) 

myfiles 1 big data frame want access them in way explained above.

i using rstudio 0.9 , working directory files located. csv files named in way: "001.csv" "002.csv" "003.csv"...

thank in advance


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -