powered by
Number of rows of a file
Count_Rows(PATH, verbose = FALSE)
a character string specifying the path to a file
either TRUE or FALSE
a numeric value
This function returns the number of rows for a file. It doesn't load the data in memory.
# NOT RUN { library(textTinyR) PATH = system.file("example_files", "word_vecs.txt", package = "textTinyR") num_rows = Count_Rows(PATH) # }
Run the code above in your browser using DataLab