R/errDump.R

Defines functions errDump

Documented in errDump

#' Wrapper for a function to dump errors from C++
#'
#' @param x Data to save
#' @param fname Path/name to save data to
#' 

errDump = function(x, fname=file.path(tempdir(), 'error_samplerState.RData')) { 
  save(x, file=fname) 
}

Try the telefit package in your browser

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

telefit documentation built on Feb. 4, 2020, 9:08 a.m.