txt.list <- list.files(path_to_your_folder_containing_.txt_files, full=TRUE)
# altenartively :
# setwd(path_to_your_folder_containing_.txt_files)
# txt.list <- list.files()
I <- import.txt(txt.list)
Coo(I)
I # that should be a Coo object
Run the code above in your browser using DataLab