R - Getting warnings: “only the first element is used as variable name”
问题 I'm trying to use "assign" function, inside a for loop, to assign the value of a file to one variable. When I call the function, it brings the correct answer but in the end it gives me the following warning messages: In assign(fileList, read.csv(fileList[i])) : only the first element is used as variable name If I run > corr("specdata", 129) I can see the correct answer, it can print all the right values, but If I assign the values to any variable for example, it says that this variable is