Skip to content

Commit

Permalink
Honor MAX_DISPLAY_ENTRIES when inspecting variables (#629)
Browse files Browse the repository at this point in the history
* Make sure we honor MAX_DISPLAY_ENTRIES for lists

* Honor `MAX_DISPLAY_ENTRIES` for atomic vectors.

* Honor `MAX_DISPLAY_ENTRIES` when inspecting matrix

* Make sure we truncate display value and names when necessary.

* Make sure we correctly truncate the matrix columns too

* Make sure environments are also limited.

* Make sure we truncate the display value in the scalar atomic case.

* Handle matrix with large character elements

* Fix performance! .join() is not lazy

* Use `env.bind()` , make it clear

* Also use environment wrapper here

* Use env method for empty environment
  • Loading branch information
dfalbel authored Nov 21, 2024
1 parent 123fdb1 commit cab11b9
Show file tree
Hide file tree
Showing 2 changed files with 311 additions and 142 deletions.
Loading

0 comments on commit cab11b9

Please sign in to comment.