Get ramclass and ramattribs
Functions ramclass
and ramattribs
return the respective virtual attributes, that determine which class (and attributes) an ff object receives when subscripted (or coerced) to ram.
ramclass(x, ...) ## S3 method for class 'ff' ramclass(x, ...) ## Default S3 method: ramclass(x, ...) ramattribs(x, ...) ## S3 method for class 'ff' ramattribs(x, ...) ## Default S3 method: ramattribs(x, ...)
x |
|
... |
further arguments (not used) |
ramclass
returns a character vector with classnames and ramattribs
returns a list with names elemens just like attributes
.
The vectors ramclass_excludes
and ramattribs_excludes
name those attributes, which are not exported from ff to ram objects when using as.ram
.
Jens Oehlschlägel
x <- ff(as.POSIXct(as.POSIXlt(Sys.time(), "GMT")), length=12) x ramclass(x) ramattribs(x) class(x[]) attributes(x[]) virtual(x)$ramattribs$tzone = NULL attributes(x[]) rm(x); gc()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.