I am trying below code in R and expect both conditional statements to give same result but that is not the case. Please help to understand this behaviour.
> a
[1] 23 34 45 43
> b
[1] 45 34
> c
[1] 34 45
> a == b
[1] FALSE TRUE TRUE FALSE
> a == c
[1] FALSE FALSE FALSE FALSE