This is the repository supporting the presentation "Zero-setup R workshops with GitHub Codespaces".
You can recreate the demos in the talk using the steps outlined below.
If you have access to GitHub CodeSpaces, click the green "<> Code" button at the top right on this repository page, and then select "Create codespace on main". (GitHub CodeSpaces is available with GitHub Enterprise and GitHub Education.)
Now, browse to the file explore-analyze-data-with-R/solution/challenge-Data_Exploration.ipynb. Work through the Jupyter Notebook.
To open RStudio Server, click the Forwarded Ports "Radio" icon at the bottom of the VS Code Online window.
In the Ports tab, click the Open in Browser "World" icon that appears when you hover in the "Local Address" column for the Rstudio row.
This will launch RStudio Server in a new window. Log in with the username and password rstudio/rstudio
.
In RStudio, use the File menu to open the /workspaces
, folder and then browse to open the file devcontainers-rstudio
/ explore-analyze-data-with-R
/ solution
/ all-systems-check
/ test.Rmd
. Use the "Knit" submenu to "Knit as HTML" and view the rendered "R Notebook" Markdown document.
markdown
package. Select "Yes".GitHub Codespaces - Available with GitHub Enterprise and GitHub Education
Microsoft Workshop Library - The source of the workshop "Explore and analyze data with R" included in this presentation
Rocker - Containers for R
Dev Containers - Overview and specification
Dev Containers in Visual Studio Code - Remote-Containers extension
Visual Studio Code - Free editor available for Windows, Mac and Linux
Related talk: Easy R Tutorials with Dev Containers. This talk provides information on running Dev Containers in a local environment with Visual Studio Code.
えいつぴ (@eitsupi): For helpful info on using RStudio in a Rocker container
Eric Nantz (R-Podcast): For the episode "Fully containerized R dev environment with Docker, RStudio, and VS-Code"
Images used in presentation slides:
If you have any comments or suggestions about this presentation, please leave an issue in this repository.