
Hello R users 
 
When using the function which to get matches, I usually do
 
w<-which(x==y)
length(w)==0 
 
to determine if there are matches or not. Is there a base function that can do the thing more directly by returning a logical value if the result of which is empty or not?
 
Thanks
Francois Rousseu  		 	   		  
	[[alternative HTML version deleted]]

