Warning message: Setting row names on a tibble is deprecated.

Hi community!!! I encountered this warning message while changing the row names:

Warning message: Setting row names on a tibble is deprecated. 

Can anyone please help me to this warning message/error?

Thanks and regards,
DC7

As the message states, you cannot set row names on tibbles (as you can with dataframes).

You could add a rowname column:

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

No, it's for tibbles only. Check the link again.

I think the link you shared is changing row name in dataframe. It doesn't work with tibbles. Is there any other way out?