repr icon indicating copy to clipboard operation
repr copied to clipboard

Always generate row names

Open MichaelChirico opened this issue 8 months ago • 1 comments

Closes #175

This PR is currently incomplete -- checking it in as a first step towards a solution.

Basically I'm suggesting {repr} override the default dimension printing (the style of which is more-or-less unchanged in base R for "forever": https://github.com/r-devel/r-svn/blame/main/src/main/printarray.c) in favor of defaulting to just applying the column/row number.

  • If that looks good to you, there's a little bit of clean-up we can do where other parts in the code refer to rownames() possibly being empty that are now redundant.
  • Otherwise, let's discuss alternative approaches.

MichaelChirico avatar Apr 28 '25 20:04 MichaelChirico

fyi: this now has a conflict

flying-sheep avatar Jul 23 '25 07:07 flying-sheep