Cara menghapus baris dengan INF dari dataframe di r

df <- df[!is.infinite(rowSums(df)),]
Arno Deceuninck