I am having this error code appear on in my project.
the strange thing is, the piece of code I am using was working perfectly earlier today. However, since I installed an update for R I am now getting this message when running it.
df1 <- df %>% select(Month, Longitude, Latitude, Type)
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘select’ for signature ‘"spec_tbl_df"’
The code was used simply to create a new data frame with only the selected columns.
Any help would be greatly appreciated!
R
you have ?version
command can be run – AtonyR
4.0.0
update. Or maybe it comes from that. Did you try writingdplyr::select
rather thanselect
? – Atony