[R] a newbie seeking for a simple problem

Hon Kit (Stephen) Wong honkit at stanford.edu
Mon Sep 3 00:44:44 CEST 2012


Dear Experienced R users,

I have a looks-like simple but complicated problem urgently needed to be solved. Below is the detail:

I have two dataframes, df1, df2. df1 contains two column and many thousands rows: column 1 is a "gene_name", column 2 is "value". df2 contains only one column which is "gene_name" with couple hundred rows. I want to change "value" of df2 for those "gene_name" also appear in df2 "gene_name". How to do that? Millions thanks.


Ste



More information about the R-help mailing list