Skip to content

Add support for Viewing rds files #1427

Closed

Description

@rkrug

I save R objects regularly as rds files, and it would be great to view them as one can with other file types. An example would be the docx viewer which opens tab with a view of the document. This view should be read only, but editing could be a nice plus. This obviously would only work for tabular data. If the data is not tabular, a message could be displayed.

At the moment, I am using readRDS() |> View() in the running R session, but a bild in solution would be really useful.

Activity

  1. changed the title [-]Add support for Viewing `ads` files[/-] [+]Add support for Viewing `rds` files[/+] on Sep 26, 2023
  2. Yunuuuu commented on Nov 27, 2023

    @Yunuuuu

    Maybe you should consider incorporating a customizable keybinding like this:

        {
            "key": "ctrl+r ctrl+v",
            "command": "r.runCommandWithSelectionOrWord",
            "when": "editorTextFocus && editorLangId == 'r' || editorTextFocus && editorLangId == 'rmd'",
            "args": "utils::View(readRDS($$))"
        }
    
  3. rkrug commented on Nov 27, 2023

    @rkrug
    Author

    Sounds like a solution.
    I have put this into my keybinding.json. Then I have to press ctrl+r ctrl+v when the rds is selected in the browser panel? I tried this, but it does not work. What am I doing wrong?

  4. ThomasSoeiro commented on Sep 27, 2026

    @ThomasSoeiro
    Collaborator

    @Fred-Wu @eitsupi @grantmcdermott I think we can close as not planned or move to discussion

  5. locked and limited conversation to collaborators on Sep 27, 2026
  6. converted this issue into a discussion #1790 on Sep 27, 2026
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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions