How to delete a row that contains ----- using dplyr()

Hello, how can I get rid of this?

I've tried the slice function but it didn't work, also tried this:
dataset[-c(1), ]
and it didn't work either...
sometimes it works but the ----- don't disappear, and that's what i need

dataset = dataset[-1,]

1 Like

thank you fcas80! I was close...

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.