R/view.R

#' simple wrapper to open a file at the commandline on a mac
#'
#' very simple command possibly expand to take application as an argument
#'
#' @param fileName
#'
#' @export
view <- function(fileName){
  system(paste0("open ",fileName))
}
PietaSchofield/pietalib documentation built on May 8, 2019, 3:18 a.m.