R: integer64: Coercing to data.frame column

as.data.frame.integer64 {bit64} | R 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))

[Package bit64 version 0.9-7 Index]