Learn R Programming

bit64 (version 4.6.0-1)

as.data.frame.integer64: integer64: Coercing to data.frame column

Description

Coercing integer64 vector to data.frame.

Usage

# S3 method for integer64
as.data.frame(x, ...)

Value

a one-column data.frame containing an integer64 vector

Arguments

x

an integer64 vector

...

passed to NextMethod as.data.frame() after removing the 'integer64' class attribute

Details

'as.data.frame.integer64' is rather not intended to be called directly, but it is required to allow integer64 as data.frame columns.

See Also

cbind.integer64() integer64()

Examples

Run this code
  as.data.frame.integer64(as.integer64(1:12))
  data.frame(a=1:12, b=as.integer64(1:12))

Run the code above in your browser using DataLab