I have 20 csv files which I need to upload I made in a loop and then I added each data.frame to a vector. Finally in the vector "list_df" I have 20 elements where I stored name of my 20 dataframes.
Now I am trying to get to those dateframe stored in list_df but it doesn`t work. Any ideas how can I get to those data frames stored in the vector to make futher calculation?
list_df[1][column_name]
or
list_df[1]$column_name
doesn`t work
path<-'thats my path'
list_of_files<-list.files(path)
list_df<-c() #creating empty vector
for (i in 1:length(list_of_files)){
assign(paste("dffile",list_of_files[i],sep=""),(read.table(paste(path,list_of_files[i],sep=""), sep=",", header=TRUE)))
list_df[i]<-paste("dffile",list_of_files[i],sep="")
}