R/get.line.R

Defines functions get.line

Documented in get.line

#' Returns a line from a file. 
#'
#' @param linenumber is the line number of the line to grab. 
#' @param file is the file to grab the line from. 
#' @return A line of text. 
#' @export

get.line <- function(linenumber, file) readLines(file)[linenumber]
johnjosephhorton/JJHmisc documentation built on May 19, 2019, 5:15 p.m.