R/r.reader.R

Defines functions r.reader

Documented in r.reader

#' @describeIn preinstalled.readers Read an R source file with a \code{.R} file extension.
#'
#' This function will call source on the specified R file, executing the
#' code inside of it as a way of generating data sets dynamically, as in
#' many Monte Carlo applications.
r.reader <- function(data.file, filename, variable.name)
{
  source(filename)
}
johnmyleswhite/ProjectTemplate documentation built on April 19, 2024, 5:18 a.m.