Skip to content

Materials for the talk "Easy R Tutorials with Dev Containers"

License

Notifications You must be signed in to change notification settings

revodavid/devcontainers-r

Repository files navigation

Easy R Tutorials with Dev Containers

This is the repository supporting the presentation "Easy R Tutorials with Dev Containers".

You can recreate the demos in the talk using the steps outlined below.

Dev Containers in GitHub Codepaces

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.)

Once the Dev Container has started, browse to the file intro-regression-R-tidymodels/solution/Challenge-regression.ipynb. This will launch a Jupyter Notebook.

Dev Containers on a local machine

You can use Linux, Mac or Windows (including Windows Subsystem for Linux). Just make sure your machine has the following necessary software installed:

Note: you do not need to install R, Python, or anything like that. These will all be provided by the Dev Container.

Copy the contents of this repository to your machine. An easy way to do this is with the command:

git clone https://github.com/revodavid/devcontainers-r

Launch Visual Studio Code, and open the directory containing this downloaded repository. An easy way to do this is:

cd devcontainers-r
code .

Open the VS Code command palette (Control-Shift-P) and run the command Remote-Containers: Reopen in Container. (You can also use the pop-up dialog that automatically prompts you do this.) The first time you try this, you will need to wait a few minutes for the container to build. After this first time, startup will be near-instantaneous.

Now, browse to the file intro-regression-R-tidymodels/solution/Challenge-regression.ipynb. Work through the Jupyter Notebook.

Resources and Links

Image Credits

Images used in presentation slides:

Feedback

If you have any comments or suggestions about this presentation, please leave an issue in this repository.

About

Materials for the talk "Easy R Tutorials with Dev Containers"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published