data("ToothGrowth")
View(ToothGrowth)
filterer_tg <- filter(ToothGrowth, dose == 0.5)
Error: object 'dose' not found
arrange(ToothGrowth, len)
Error in arrange(ToothGrowth, len) : could not find function "arrange"
The dplyr packages are installed but there are still errors when codes run.
You just have to load the dplyr library with library(dplyr)
before using its functions. A very small number of libraries included with the R executable are loaded automatically. Any libraries you download and install have to be loaded explicitly before use.
1 Like
Many thanks! It works!