Skip to content

nmfs-opensci/r-vscode-codespaces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

r-vscode-codespaces

Try running R code in a codespace where VScode is configured for use with R.

Warning: this repo is no longer actively maintained!

These are example files for codespaces, but using R in Codespaces is always evolving, so files require active use ane maintenance.

Reach out to @eeholmes if you have questions.

Maintained Codespace Templates and Container Images

Maintained Codespace Files

These can be used to inspire your own Codespace files.

How to use this repository with Codespaces

Two ways:

  1. Click "Use this template" and "Open in a codespace" to directly use the repository in a codespace. This options works if you don't plan on saving any files.
  2. Click "Use this template" and "Create a new repository" to make your own repository based on r-vscode-codespaces. Then, open a codespace for the new repostory.

There are several codespace options here:

  • r-quarto (default): Use a codespace with basic R and quarto set up.
  • r-base: Use a codespace with basic R set up.

See creating a codespace in a repository for instructions on how to select which codespace you would like to use. In short, the "New with Options" button should be selected to specify which codespace configuration to use.

I already have an R project that I want to use with codespaces!!! What should I do?

Copy over the devcontainer.json of choice into a folder named .devcontainer within your R project's repository.

About

Setups for R in Codespaces

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published