GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - revodavid/devcontainers-r: Materials for the talk "Easy R Tutorials with Dev Containers"

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
.devcontainer
.devcontainer
 
 
.github/workflows
.github/workflows
 
 
intro-regression-R-tidymodels
intro-regression-R-tidymodels
 
 
.gitignore
.gitignore
 
 
.stats_timestamp
.stats_timestamp
 
 
EasyRTutorialsUseR2022.pdf
EasyRTutorialsUseR2022.pdf
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Easy R Tutorials with Dev Containers

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

  • Presenter: David Smith, Cloud Advocate at Microsoft
  • Presented at: UseR!2022, June 21, 2022
  • Presentation slides: PDF
  • Presentation recording: UseR!2022 (Starting at 47:45)

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:

  • Visual Studio Code, and the Remote-Containers extension
  • Docker Desktop
  • Git

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

  • 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
  • GitHub Codespaces - Available with GitHub Enterprise and GitHub Education
  • Microsoft Workshop Library - The source of the workshop "Introduction to regression models by using R and Tidymodels" included in this presentation

Image Credits

Images used in presentation slides:

  • File:A frustrated and depressed man holds his head in his hand.jpg - Wikimedia Commons
  • File:Confused Felipe.jpg - Wikimedia Commons
  • File:Woman looking depressed.jpg - Wikimedia Commons
  • File:Angry woman.jpg - Wikimedia Commons
  • "Bit" artwork by Ashley Willis

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

Readme
MIT license
Activity

Stars

55 stars

Watchers

2 watching

Forks

14 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.