Skip to contents

Get last error code and error string that occured on an ff object.

Usage

geterror.ff(x)
geterrstr.ff(x)

Arguments

x

an ff object

Value

geterror.ff returns an error integer code (no error = 0) and geterrstr.ff returns the error message (no error = "no error").

Author

Jens Oehlschlägel, Daniel Adler (C++ back-end)

See also

Examples

  x <- ff(1:12)
  geterror.ff(x)
#> [1] 0
  geterrstr.ff(x)
#> [1] "no error"
  rm(x); gc()
#>           used (Mb) gc trigger  (Mb) max used  (Mb)
#> Ncells 1249220 66.8    2239654 119.7  2239654 119.7
#> Vcells 2298946 17.6    8388608  64.0  8387257  64.0