This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sean Hellum
committed
Feb 12, 2020
1 parent
bb7312c
commit 38c26d5
Showing
6 changed files
with
61 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,21 +13,23 @@ vscode: | |
- [email protected]:Qde/ISuGvFTPjoaMf1FmnQ== | ||
- [email protected]:YnjK47pXScU3DMFfQzkkOw== | ||
|
||
- [email protected]:M4pd3IjUdOlW1oU7q8SITA== | ||
|
||
github: | ||
prebuilds: | ||
# enable for the master/default branch (defaults to true) | ||
master: true | ||
# enable for all branches in this repo (defaults to false) | ||
# enable for all branches in this repo (defaults to false) | ||
branches: true | ||
# enable for pull requests coming from this repo (defaults to true) | ||
# enable for pull requests coming from this repo (defaults to true) | ||
pullRequests: true | ||
# enable for pull requests coming from forks (defaults to false) | ||
# enable for pull requests coming from forks (defaults to false) | ||
pullRequestsFromForks: true | ||
# add a check to pull requests (defaults to true) | ||
# add a check to pull requests (defaults to true) | ||
addCheck: true | ||
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false) | ||
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false) | ||
addComment: false | ||
# add a "Review in Gitpod" button to the pull request's description (defaults to false) | ||
# add a "Review in Gitpod" button to the pull request's description (defaults to false) | ||
addBadge: false | ||
# add a label once the prebuild is ready to pull requests (defaults to false) | ||
addLabel: false | ||
# add a label once the prebuild is ready to pull requests (defaults to false) | ||
addLabel: false |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -123,6 +123,10 @@ export const MENU: MenuEntry[] = [ | |
M( | ||
"Julia", | ||
"julia-in-gitpod" | ||
), | ||
M( | ||
"R", | ||
"r-in-gitpod" | ||
) | ||
] | ||
), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# R in Gitpod | ||
|
||
Gitpod does not come with out of the box support for R, so here is how to configure it | ||
|
||
## Installing R | ||
|
||
First you'll probably want to install R, to do this add the following to your [`.gitpod.Dockerfile`](https://www.gitpod.io/docs/config-docker/) | ||
|
||
```Dockerfile | ||
RUN brew install R | ||
``` | ||
|
||
This will install R to your project! | ||
|
||
|
||
## VSCode Extensions | ||
|
||
### R Extension | ||
![Picture of R extension](images/RGitpod.png) | ||
To install the R extension to your repository add the following to your [`.gitpod.yml`](https://www.gitpod.io/docs/config-gitpod-file/): | ||
```yaml | ||
vscode: | ||
extensions: | ||
- [email protected]:z5vr1v1bfS++U/aHLSXQ6Q== | ||
``` | ||
## R Tools | ||
![Picture of R tools](images/RTools.png) | ||
The R tools extension adds syntax checking, completions, code formatting, formatting as you type, tooltips, linting. | ||
To add this extension to your repository add the following to your [`.gitpod.yml`](https://www.gitpod.io/docs/config-gitpod-file/): | ||
|
||
```yaml | ||
vscode: | ||
extensions: | ||
- [email protected]:M4pd3IjUdOlW1oU7q8SITA== | ||
``` | ||
|
||
And add the following to your [`.gitpod.Dockerfile`](https://www.gitpod.io/docs/config-docker/): | ||
|
||
```Dockerfile | ||
RUN wget -q https://packages.microsoft.com/config/ubuntu/19.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \ | ||
&& sudo dpkg -i packages-microsoft-prod.deb \ | ||
&& sudo apt-get update \ | ||
&& sudo apt-get install aspnetcore-runtime-3.1 | ||
``` |