Select the first row in data frame


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,

dplyr package has slice()

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