Hi, this is what I want to do and what I found prior to ask there, but I wanted to do that with a vector of several hundreds or thounsands of names. Because I will have to use different vectors of very big size, my main concern was how to import this vector from a textfile (so I just have to change the name of the file in my script each time), but I finally found the correct command (scan) and it works. Thanks
-- View this message in context: http://r.789695.n4.nabble.com/Matrix-subsetting-with-rownames-tp2241038p2242500.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.