So when I do the merge on your example frames, I get the expected result. But the example component dataframes you sent are already full of NAs, and there are no rows which are present in both data sets. So I think perhaps, that merge is just highlighting a problem that has its roots in your component data.
t On 26 Oct 2011, at 1:16 PM, dividend wrote: > I pasted wrong function, I have changed from "date1" to "date" (ignore that). > I think it have to be something wrong with my data format. I can`t > understand why it don't work. I know I can use by.x=.... and by.y=...., but > since both datasets have the same variable name it should be unnecessary to > do that. ______________________________________________ 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.