as.vector operation @vjovanov