You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to convert a tibble to a data.frame. Since I'm used to the tidyverse having it's own non-R-style syntax (using underscores instead of dots), I tried this:
as_data_frame(as_tibble(iris))
and was told
Warning message:
`as_data_frame()` was deprecated in tibble 2.0.0.
Please use `as_tibble()` instead.
The signature and semantics have changed, see `?as_tibble`.
This warning message is very confusing and the help page is not clear either. It would be nice if both the warning and the help page said something like: "Maybe you meant as.data.frame", since that is actually the right syntax to convert a tibble into a dataframe.
as.data.frame(as_tibble(iris))
General comment: The decision to use "as_" instead of "as." has created much confusion.
The text was updated successfully, but these errors were encountered:
Thanks. Yes, this is unfortunate. Even more so as it seems that as_data_frame() is now used by a multitude of other packages when it should actually be as.data.frame() .
How about: Please use `as_tibble()` or `as.data.frame()` instead. ?
I want to convert a tibble to a data.frame. Since I'm used to the tidyverse having it's own non-R-style syntax (using underscores instead of dots), I tried this:
and was told
This warning message is very confusing and the help page is not clear either. It would be nice if both the warning and the help page said something like: "Maybe you meant as.data.frame", since that is actually the right syntax to convert a tibble into a dataframe.
General comment: The decision to use "as_" instead of "as." has created much confusion.
The text was updated successfully, but these errors were encountered: