Learn R Programming

ffbase (version 0.13.3)

ffdfappend: Append a dataframe or an ffdf to another ffdf

Description

Appends a dataframe or an ffdf called dat to an existing ffdf called x. Please note that the data of x will be coerced to the type of y if the corresponding column of y has a higher vmode.

Usage

ffdfappend(x, dat, recode = TRUE, adjustvmode = TRUE, ...)

Arguments

x

ffdf object where data will be appended to. If x==NULL a new ffdf object will be created

dat

ffdf object or data.frame object

recode

should factors be recoded (default), or not (faster)

adjustvmode

logical, indicating to coerce the columns of x to a higher vmode to make sure y is appended without loss of information.

...

Further arguments passed to as.ffdf, when x==NULL

Value

ffdf object with same physical storage as x unless the corresponding column of y has a higher vmode in which case the data will be cloned to the higher vmode

See Also

c.ff