R/arff.reader.R

Defines functions arff.reader

Documented in arff.reader

#' @describeIn preinstalled.readers Read the Weka file format from files with the \code{.arff} extension.
arff.reader <- function(data.file, filename, variable.name)
{
  .require.package('foreign')

  assign(variable.name,
         foreign::read.arff(filename),
         envir = .TargetEnv)
}

Try the ProjectTemplate package in your browser

Any scripts or data that you put into this service are public.

ProjectTemplate documentation built on July 31, 2021, 5:07 p.m.