cara memilih semua catatan di atas datetime tertentu di r

with(df, df[(date >= "2008-01-02" & date <= "2008-01-05") | 
                                 (date >= "2008-01-09" & date <= "2008-01-11"), ])
Worrisome Wombat