Suppose that I have assigned a set of matrices through the following for-loop.

```
for(i in 1:6){
stringname<-sprintf("%s_%s","MyName",i)
assign(paste(stringname),matrix(data=100,nrow=100,ncol=100)) #Should yield 6 arrays (MyName_1,MyName_2,...,MyName_6)
}
```

Suppose I want to assign 6 vectors that read in the first row of each of MyName_1 to MyName_6. **How can this be accomplished? In other words, how do I select the first row of such an array based on a specified string (e.g., "MyName") and then assign the first row to a new variable?**

Sorry for the inconveniences and troubles regarding this. Thanks for all the help over this!