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

View source: R/integer64.R

as.data.frame.integer64R Documentation

integer64: Coercing to data.frame column

Description

Coercing integer64 vector to data.frame.

Usage

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

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.

Value

a one-column data.frame containing an integer64 vector

Note

This is currently very slow – any ideas for improvement?

Author(s)

Jens Oehlschlägel <Jens.Oehlschlaegel@truecluster.com>

See Also

cbind.integer64 integer64

Examples

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

bit64 documentation built on Sept. 30, 2024, 9:23 a.m.