I'm still a bit of a newb to R programming. I'm confused why subsetting a data frame returns a factor as opposed to just a vector with a single element. Why is this R's default? Is this because what I'm subsetting is a word, and not a value? Still, I'd expect a character vector then. 

For example: 

```
n <- c(2,3,5)
s = c("aa", "bb","cc")
b <- c(TRUE, FALSE, TRUE)
df <- data.frame(n,s,b)
df

test <- df[1,"s"]
test
class(test)  #this says it's a factor

```

Thanks!