Skip to content

rstudioapi::restartSession() does not clear environment or search in R3.4.4 #95

Closed
@vnijs

Description

@vnijs

It seems that since R 3.4.4 rstudioapi::restartSession() backs-up (and restores) the current environment and doesn't unload packages. Session > Restart R from the menu does still work as expected. Does Rstudio call a different function? Is there an option to have rstudioapi::restartSession() behave the same as the menu?

FYI settings:

image

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