R/octave.reader.R

Defines functions octave.reader

Documented in octave.reader

#' @describeIn preinstalled.readers Read an Octave file with a \code{.m} file extension.
#'
#' This function will load the specified Octave file into memory using the
#' \code{foreign::read.octave} function.
octave.reader <- function(data.file, filename, variable.name)
{
  .require.package('foreign')

  assign(variable.name,
         foreign::read.octave(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.