Skip to content

Commit

Permalink
Edits
Browse files Browse the repository at this point in the history
  • Loading branch information
remlapmot committed Oct 15, 2024
1 parent d0ee8e0 commit e226a01
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/opensafely-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,11 @@ To launch the OpenSAFELY r image running in a local instance of rstudio-server p
opensafely rstudio
```

This will launch the rstudio-server session in a browser window, most likely at `http://localhost:8787/`. This provides RStudio interface to the r image. Hence the version of R and all the packages are at their respective versions as in the r image.
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 in the r image.

If you have an `.Rproj` file in your repository, `opensafely rstudio` detects this and opens the rstudio-server session in project mode. In this mode the Git pane is available.
If you have an `.Rproj` file in 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.

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

Expand Down

0 comments on commit e226a01

Please sign in to comment.