Displaying 1 result from an estimated 1 matches for "aar_list".
Did you mean:
var_list
2024 Nov 07
0
Using multiple dat files
...sting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>
Hello,
If read.table as you have posted it solves the problem of reading one
file, then the following should read all of them.
# No further options passed to read.table. Was that the problem?
AAR_list <- lapply(filelist, read.table)
# You can also set the returned list's names, like Bert "suggested"
AAR_list <- setNames(AAR_list, basename(filelist))
Or you can test in a small subset of the files
# If this works then it's probably safe to read them all
# (and you don...