Or, if we simply try to remove all even rows (2, 4,6,..), you can do
df %>% filter ( !as.numeric(rownames(.)) %% 2 == 0)
#> V1 V2 V3 V4
#> 1 Hello I am here
#> 2 Hello I am here
Or, if we simply try to remove all even rows (2, 4,6,..), you can do
df %>% filter ( !as.numeric(rownames(.)) %% 2 == 0)
#> V1 V2 V3 V4
#> 1 Hello I am here
#> 2 Hello I am here