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

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 1159017 61.9    1994352 106.6  1994352 106.6
#> Vcells 2158519 16.5    8790397  67.1  8790397  67.1