Skip to content

Conversation

@eitsupi
Copy link
Contributor

@eitsupi eitsupi commented Dec 17, 2022

What problem did you solve?

Related to #1121
When a data frame with many columns is displayed in the data viewer, the column names may not be readable due to column width limitations.
Display the column name in the tooltip so that we can see the column name.

(If you have)Screenshot

image

(If you do not have screenshot) How can I check this pull request?

n <- 1000
df <- data.frame(id = 1:n)
for (i in 1:100) {
  df[[paste0("loooooooooooooooooooooooong", i)]] <- rnorm(n)
}

View(df)

Copy link
Member

@renkun-ken renkun-ken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@renkun-ken renkun-ken merged commit dc5be83 into REditorSupport:master Dec 17, 2022
@eitsupi eitsupi deleted the tooltip-col-name branch December 17, 2022 16:20
@eitsupi
Copy link
Contributor Author

eitsupi commented Dec 17, 2022

Thank you for merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants