Applying a function to an entire data frame

It certainly worked on my device. And, I don't really understand why you're not getting results. It should've worked.

Can you please provide us a reproducible example of this problem?

If you don't know how to make one, here's a helpful post:

Just to note, for this example, rro is a data.frame, and not a matrix.