In a loop, I would like to load data which has names g406, g407, g408... but I would like to write these directly into objects named 406, 407, 408.
406 <- load("\g406.RData")
saves a string "\g406.RData" in the object 406. How can I save the g406.RData in the object 406 without any further lines of code to use it in a loop with indexes 406, 407, 408,.... Or alternatively, how can I save an R object named with a number is this possible?