Hi there,
See ?"%in%"  Here is an example:

> x=sample(1:10)
> x
 [1]  2  1 10  5  4  7  3  6  8  9
> y=sample(4:20)
> y
 [1] 17 16 18 10  8 19  4  5 11 13 12 14 20  6  7  9 15
> x[x%in%y]  # "x" values present in "y"
[1] 10  5  4  7  6  8  9

HTH,


Jorge



On Fri, Sep 5, 2008 at 2:57 PM, Rajasekaramya <ramya.victory@gmail.com>wrote:

>
> Hi there
>
> I have two object on is a vector T and the other is  dataframe C.
> vector T has more no of rows when comapred with a dataframe Ccolumn[,2].I
> want to find the the missing rows in dataframe C.That is those values that
> are not matchig  in dataframe C[,2]
>
> Kindly give me suggestion on how to go about it.
>
> Ramya
>
> --
> View this message in context:
> http://www.nabble.com/comparing-two-files-tp19337486p19337486.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.
>

	[[alternative HTML version deleted]]

