Skip to content

BUG: $ method for dframes returns single NA #19

@clarkfitzg

Description

@clarkfitzg
> a = as.dframe(iris)
> colnames(a)
[1] "Sepal.Length" "Sepal.Width"  "Petal.Length" "Petal.Width"  "Species"
> a$Species
Species
   <NA>
Levels: setosa versicolor virginica
> iris$Species
  [1] setosa     setosa     setosa     setosa     setosa     setosa
  [7] setosa     setosa     setosa     setosa     setosa     setosa
 [13] setosa     setosa     setosa     setosa     setosa     setosa

Probably the best way to fix this is to include dframes in OO model as described in the design section of the wiki.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions