My question is very simple I searched it and thought that I found the solution but I get an error. Here's my problem:
I have some files like this:
Mor_ldnew1.txt
Mor_ldnew2.txt
Mor_ldnew3.txt
.
.
.
And I want to store each of this files in different objects to then merge them but I got an error with my loop:
for (i in 1:3){
read.table(paste("Mor_ld_new",i,".txt", sep="")) -> mor[i]
}
This is the error:
Error: unexpected '}' in " }"
Thanks in advance.