Implement the dim.Dataset generic.
We currently use nrow, which uses dim under the hood, so writing a generic for dim makes more sense here.
This enables all of dim, nrow and ncol to work.
[ ] Implement dim.Dataset generic
This can just call dim(x$env$data), so eventually dim.data.table is called
Implement the
dim.Dataset
generic. We currently usenrow
, which usesdim
under the hood, so writing a generic fordim
makes more sense here. This enables all ofdim
,nrow
andncol
to work.dim.Dataset
genericdim(x$env$data)
, so eventuallydim.data.table
is callednrow
definitions inDataset.R