powered by
read a specific number of characters from a text file
read_characters(input_file = NULL, characters = 100, write_2file = "")
a character string specifying a valid path to a text file
a numeric value specifying the number of characters to read
either an empty string ("") or a character string specifying a valid output file to write the subset of the input file
if (FALSE) { library(textTinyR) txfl = read_characters(input_file = 'input.txt', characters = 100) }
Run the code above in your browser using DataLab