https://github.com/badouralix/vscode-remote-try-r
R sample project for trying out the VS Code Remote - Containers extension
https://github.com/badouralix/vscode-remote-try-r
docker dockerfile r vscode vscode-container vscode-remote
Last synced: 3 months ago
JSON representation
R sample project for trying out the VS Code Remote - Containers extension
- Host: GitHub
- URL: https://github.com/badouralix/vscode-remote-try-r
- Owner: badouralix
- License: mit
- Created: 2020-05-20T23:10:17.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-09-12T14:17:07.000Z (almost 2 years ago)
- Last Synced: 2025-03-25T04:33:03.604Z (3 months ago)
- Topics: docker, dockerfile, r, vscode, vscode-container, vscode-remote
- Language: R
- Homepage:
- Size: 49.8 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Try Out Development Containers: R
[](https://github.com/badouralix/vscode-remote-try-r/actions/workflows/buildx.yaml)
[](https://hub.docker.com/r/badouralix/vscode-remote-try-r)
[](https://hub.docker.com/r/badouralix/vscode-remote-try-r)
[](https://hub.docker.com/r/badouralix/vscode-remote-try-r)
[](https://hub.docker.com/r/badouralix/vscode-remote-try-r)This is a sample project that lets you try out the **[VS Code Remote - Containers](https://aka.ms/vscode-remote/containers)** extension in a few easy steps.
> **Note:** If you're following the quick start, you can jump to the [Things to try](#things-to-try) section.
- [Setting up the development container](#setting-up-the-development-container)
- [Things to try](#things-to-try)
- [License](#license)## Setting up the development container
Follow these steps to open this sample in a container:
1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started).
2. To use this repository, you can either open the repository in an isolated Docker volume:
- Press F1 and select the **Remote-Containers: Open Repository in Container...** command.
- Type [`badouralix/vscode-remote-try-r`](https://github.com/badouralix/vscode-remote-try-r) and press return.
- Wait for the container to start, and try things out!
Or open a locally cloned copy of the code:
- Clone this repository to your local filesystem.
- Open the cloned copy of this folder.
- Press F1 and select the **Remote-Containers: Reopen in Container** command.
- Wait for the container to start, and try things out!
## Things to try
Once you have this sample opened in a container, you'll be able to work with it like you would locally.
Some things to try:
1. **Edit:**
- Open [learnxinyminutes.R](learnxinyminutes.R).
- Try adding some code and check out the language features.2. **Terminal:** Press ctrl+shift+\` and type `uname` and other Linux commands from the terminal window.
3. **R Interactive:**- Press F1 and run the **R: Create R terminal** command.
- Try running some R commands.4. **Run Source:**
- Open [learnxinyminutes.R](learnxinyminutes.R).
- Press F1 and run the **R: Run Source**.
5. **Run Selection:**
- Open [learnxinyminutes.R](learnxinyminutes.R) and select a few lines.
- Press F1 and run the **R: Run Selection/Line** command.
6. **Preview Dataframe:**
- Open [learnxinyminutes.R](learnxinyminutes.R) and select a data frame, for instance `students`.
- Press F1 and run the **R: Preview Dataframe** command.
## License
Unless explicitly stated to the contrary, all contents licensed under the [MIT License](LICENSE).