(foo %% 2) == 0 See ?"%%" HTH Stephan tj schrieb: > Hi, > > anyone here who knows how to determine if an integer is "odd" or "even" in > R? > Thanks. > > > tj