, , ( data.frame).
#random df
DF = data.frame(col1 = sample(1:10, 10), col2 = sample(1:10,10), col3 = sample(1:10, 10))
DF[5,]
col1 col2 col3
5 3 7 5
mode(DF[5,])
[1] "list"
mode(unlist(DF[5,]))
[1] "numeric"
names(DF[5,])
[1] "col1" "col2" "col3"
sum(DF[5,]) # computations are naturally done
[1] 15
, , :
unname(unlist(DF[5,]))
[1] 3 7 5