Skip to content

Activates a project in the usethis, R session, and (if relevant) RStudio senses. If you are in RStudio, this will open a new RStudio session. If not, it will change the working directory and active project.

Usage

proj_activate(path)

Arguments

path

Project directory

Value

Single logical value indicating if current session is modified.

Details

  • If using RStudio desktop, the project is opened in a new session.

    • If using Positron, the project is opened in a new window.

    • If using RStudio or Positron on a server, the project is opened in a new browser tab.

    • Otherwise, the working directory and active project is changed in the current R session.