Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
On 6/2/17, 2:22 PM, "R-help on behalf of Aanchal Sharma" <r-help-bounces at r-project.org on behalf of aanchalsharma833 at gmail.com> wrote:
Hi All,
I have two files.
1. with only one column
2. data matrix
I need to compare first columns of both files and print the rows from
second file for the overlapping entries. I have solutions for awk and sed,
but I need how to do it in R.
Thanks
Regards
Anchal
--
Anchal Sharma, PhD
Postdoctoral Fellow
195, Little Albany street,
Cancer Institute of New Jersey
Rutgers University
NJ-08901
[[alternative HTML version deleted]]
______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.