Skip to content

View() doesn't route to popped-out windows #2204

Open

Description

@kevinushey

System details

RStudio Edition : Desktop
RStudio Version : v1.1.423
OS Version      : macOS 10.13.3
R Version       : 3.4.3

Steps to reproduce the problem

Open the data viewer, with e.g.

View(mtcars)

Then, pop out that window. Again, try to call

View(mtcars)

Describe the problem in detail

Rather than focusing the popped out data viewer tab, a new tab is opened to view mtcars.

Describe the behavior you expected

RStudio should attempt to refresh and focus the tab hosting mtcars in the popped out window.

Activity

  1. kevinushey commented on Feb 15, 2018

    @kevinushey
    CollaboratorAuthor

    One other thing that might be worth exploring: it'd be useful if there were some mechanism for saying which window should be used to display the Data Viewer; if a user has popped out a View()-ed object, they likely want future View()s to be routed to that same window.

  2. jzadra commented on Jul 31, 2018

    @jzadra

    It would also be nice to be able to set which pane the data viewer lives in. Currently it is set to "Source" which doesn't make a lot of sense. It should be able to live in configurable panes.

  3. jzadra commented on Jul 31, 2018

    @jzadra

    Additionally, ensure that popped out windows update when the data changes, including (especially) .Last.value

  4. dracodoc commented on Sep 14, 2018

    @dracodoc

    I support this request as it's common to have data viewer arranged in another monitor, then cannot update it make it useless.

    Considering another related problem, data.table update by reference, make detecting changes more difficult, so I would suggest a simple solution to fix all mentioned problem above:

    add a manual refresh button in viewer toolbar

    • sometimes the viewer is called upon an expression, not clicking on a variable in environment pane, so refresh button is more general then routing update to certain window
    • it's easier to implement and will solve the special case of data.table.
  5. zhilongjia commented on Dec 5, 2019

    @zhilongjia

    It will be great to add an option in Pane layout to set a View on another pane (default on the top left pane).
    I will make coding during checking the rowname or colname of a data.frame easy. Thank you.

  6. stale commented on Feb 6, 2021

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.

  7. added
    stale
    on Feb 6, 2021
  8. jzadra commented on Feb 6, 2021

    @jzadra

    Still much interest in this!

  9. removed
    stale
    on Feb 6, 2021
  10. added this to the 2022-2H milestone on Sep 29, 2021
  11. threadingdata commented on Feb 17, 2022

    @threadingdata

    In addition to an option to designate which View() pane is used inside of RStudio, having a Global Option to always produce a pop-out window outside of the RStudio IDE when View() is called would smooth exploratory analysis.

    My monitor setup contains vertical monitors for the IDE and a horizontal monitor for viewing html, graphs and data (1-wide, as viewed on the web). Being able to designate the View() pane as a pop-out window on the horizontal monitor outside of RStudio makes iteration much faster and allows for better organization; less scrolling across columns inside the RStudio pane, and less clicks to pop-out the window to view data on the horizontal monitor.

    The Request:
    A Global Option for selecting where View() windows occur inside, or outside (pop-out), of RStudio.

    Thanks!

  12. modified the milestones: Backlog-2, Later on Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions