I have a dataset as shown below
Col1 Col2 Col3 CutoffDate 12001 Yes 2008-08-15 2008-08-10 12001 Yes 2008-08-
You can just use regular comparison
dat[dat$Col3 <= dat$CutoffDate, ] # Col1 Col2 Col3 CutoffDate # 3 12001 Yes 2008-08-10 2008-08-10 # 4 12001 Yes 2008-08-04 2008-08-10
Assuming Col3 and CuttoffDate are class "Date"
or maybe preferably,
with(dat, dat[Col3 <= CutoffDate, ])