posit-dev / posit-dev/positron
Exploring Objects with View() or %view
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 195
Description
Positron has a comprehensive Data Explorer for "data frame" type objects in R and Python. You can either launch the explorer from a "data frame" object in the Variables pane by clicking the table icon, or launch it using the View() command in an R Console, or the %view magic in a Python Console.
In #3028, users have asked for Positron to support exploring "list" types in the Data Explorer (because the Variables pane has limited functionality and also truncates child values).
Beyond lists, this issue is to capture a further request for View() or %view to handle objects in general. As to where the objects can be explored needs discussion.
Positron currently has a Variables Pane that summarizes objects of known types, but it heavily truncates information to fit into the pane. A starting compromise might be for View() and %view commands to focus and expand an object in the Variables Pane. However, users are ultimately looking for something like RStudio IDE's object explorer, that can scale beyond the limitations of Positron's existing Variables pane.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Variables pane and Data Explorer entry points, then read the related list-exploration discussion in #3028 and compare the requested behavior with RStudio's object explorer. Done requires a decided exploration location and a defined approach for View() and %view to inspect general objects beyond the current truncation limits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, r, typescript
- Domain
- data, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100