'Unexpected token ', ' in 4th line of code in R [closed]

I am getting started with 'R', I am following some lecture and i typed the exact same code as in lecture, But I am getting a cross flag which says that Unexpected token ' , ' in my fourth line of the code

data(`ToothGrowth`)
View(ToothGrowth)
install.packages(`dplyr`)
filtered_tg <- (ToothGrowth,dose==0.5)


Solution 1:[1]

dont fortget to write the function name before.

filtered_tg <- filter(ToothGrowth, dose==0.5)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Lucca Nielsen