I'm assuming you prefer base R solutions, this would be how to do it
df <- data.frame(stringsAsFactors=FALSE,
Carrier = c("Bell", "Telus", "Rogers", "Rogers", "Telus", "Bell"),
Sepal.Width = c(3.5, 3, 3.2, 3.1, 3.6, 3.9),
Petal.Length = c(1.4, 1.4, 1.3, 1.5, 1.4, 1.7),
Petal.Width = c(0.2, 0.2, 0.2, 0.2, 0.2, 0.4),
Species = c("setosa", "setosa", "setosa", "setosa", "setosa", "setosa")
)
df[df$Carrier == "Bell",]
#> Carrier Sepal.Width Petal.Length Petal.Width Species
#> 1 Bell 3.5 1.4 0.2 setosa
#> 6 Bell 3.9 1.7 0.4 setosa
Please note the way I'm sharing the sample data, that is a proper way of sharing data here.