Select the first row in data frame

Hello,

I would like to select the first row of values in the date frame. I thought that with the help of function deal I could to that, but this function is not available in the R anymore. What function I could use instead? I know that head(file name, 1) is also possible. Are there any other functions?

Thank you and best,
Svita

dplyr package has slice()

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.