Skip to content

Commit

Permalink
Edit
Browse files Browse the repository at this point in the history
  • Loading branch information
remlapmot committed Oct 15, 2024
1 parent ba18a32 commit b2aa06e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/opensafely-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,10 @@ opensafely rstudio

This will launch an rstudio-server session in a browser window, most likely at `http://localhost:8787/`. This provides the RStudio interface to the r image, therefore, the versions of R and all the packages are the same as they are in the r image.

If you have an `.Rproj` file at the top level of your repository, `opensafely rstudio` will detect this and will open the rstudio-server session in RStudio's project mode. In this mode the Git pane is available.

In your rstudio-server session you can work on your files as usual, including saving your edits.

If you have an `.Rproj` file at the top level of your repository, `opensafely rstudio` will detect this and will open the rstudio-server session in RStudio's project mode. In this mode the Git pane is available, or you can make Git commits locally as you usually do.

To end your rstudio-server session press ++ctrl+c++ in the Terminal window in which you ran the `opensafely run` command.

An alternative method to open your project in rstudio-server is to open your research repository in [Codespaces](/getting-started/how-to/use-github-codespaces-in-your-project/#how-to-access-rstudio).
Expand Down

0 comments on commit b2aa06e

Please sign in to comment.