Skip to content

Function to distinguish Positron and RStudio #310

@vincentarelbundock

Description

@vincentarelbundock

As a package developer, I would find it very useful to have a function that allows me to distinguish between IDEs like Positron and RStudio.

For instance, Positron does not support inline display of tables in Quarto notebooks, whereas RStudio does. So a table-drawing package needs to behave differently and only tables in the viewer when in Positron.

Currently, we can hack our way there by checking if some function is available (ie: generates an error), but those solutions feel hacky.

Unless there is 100% feature parity between editors, it will likely always be useful for developers to know where things are run.

Thanks for considering!

Related to: #302

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions