Skip to content

BUDSA R Primer - March 2025| Adapted from Zero-setup R workshops with GitHub Codespaces

License

Notifications You must be signed in to change notification settings

BU-Data-Science-Association/codespaces-r

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BU Data Science Association: R Workshop in Github Codespaces

Thanks to David Smith for template (his readme and instructions for how to use are below; we have only replaced his workshop)

Function Sheet (main goals)

library()
print()
read_csv()
read_excel()
head()
order()
colnames()
ggplot()
ggplotly()
summary()
merge()
select()
filter()
mutate()
count()

Zero-setup R workshops with GitHub Codespaces

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.

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

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.

Forwarded Ports

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.

Ports

This will launch RStudio Server in a new window. Log in with the username and password rstudio/rstudio.

  • NOTE: Sometimes, the RStudio window may fail to open with a timeout error. If this happens, try again, or restart the Codepace.

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.

  • Note: You may be prompted to install an updated version of the markdown package. Select "Yes".

Resources and Links

Thanks to

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

BUDSA R Primer - March 2025| Adapted from Zero-setup R workshops with GitHub Codespaces

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 72.5%
  • HTML 18.2%
  • CSS 8.4%
  • Other 0.9%