Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust column width in Global Environment #4020

Closed
scottprevost opened this issue Dec 10, 2018 · 7 comments · Fixed by #4812
Closed

Adjust column width in Global Environment #4020

scottprevost opened this issue Dec 10, 2018 · 7 comments · Fixed by #4812

Comments

@scottprevost
Copy link

System details

RStudio Edition : Desktop
RStudio Version : v1.2.1139, v1.1.463
OS Version      :  Windows 7
R Version       :  3.5.1

Steps to reproduce the problem

This problem can be reproduced by installing RStudio and attempting to adjust the column widths displaying variable (data.frames, lists, etc.) in the Global Environment pane, in either Grid or List mode.

Describe the problem in detail

When viewing variables in the Global Environment pane of RStudio, the column widths cannot be adjusted in either List or Grid view. This would be helpful to adjust the column widths to better inspect the variable (data.frames, lists, etc.) names, especially when working on larger projects where there are many variables. Only the first X number of letters of the variable name are shown and when some variable names are similar to others or have a common naming theme, they cannot be differentiated in the Global Environment pane without hovering your mouse over the names. You can adjust the entire pane width, but then you lose space to write your R code and also ALL the columns in the Global Environment scale, so you still have the same problem.

Describe the behavior you expected

Would like to be able to individually adjust the column widths in the Global Environment to better inspect and view variable names.

@ronblum
Copy link
Contributor

ronblum commented Dec 10, 2018

@scottprevost Thank you for the observations and suggestion. We'll consider them as we work on future versions of RStudio.

@acvelozo
Copy link

Hi @jmcphers , taking into account this commit from May 2019, I would imagine that the latest RStudio version would allow for resizing the columns in the Environment pane, should this be the case? This would be very useful for me, since I am working with long variable names. Maybe I am interpreting incorrectly the subject of this commit?

I am using RStudio 1.2.5033 on Windows. Here is a screenshot of the Environment pane columns, which I am currently not able to resize:
image

Thank you for this tool, it has a huge impact on my work.

@jmcphers
Copy link
Member

This feature is currently only available in the daily builds of RStudio:

https://dailies.rstudio.com/

@scottprevost
Copy link
Author

I downloaded RStudio from the daily builds link above and am able to resize the columns. Thanks so much!

@catalytic-ca
Copy link

RStudio Environment pane columns are resizable, but only for the List view. The Grid view column widths do not seem to be adjustable. Would it be possible to extend the adjustable column widths to the Grid view too?

@bjcresswell
Copy link

RStudio Environment pane columns are resizable, but only for the List view. The Grid view column widths do not seem to be adjustable. Would it be possible to extend the adjustable column widths to the Grid view too?

I would second this addition!! But if that isn't possible, I'd also highlight the following related issue: after resizing columns (List view only obviously as it doesn't work in Grid view), if you add another item to the Environment pane, it resizes back to the original column width!

Thanks for all you do.

@andrewjunlee
Copy link

Figure it's been a year since the last person made a request, so I'm here to echo the voices of other people who dream of someday being able to resize the columns in the global environment's grid view. Similarly, thanks for all the work y'all do!

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

Successfully merging a pull request may close this issue.

7 participants