Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit

Permalink
Persistant R configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiddelkoop committed May 30, 2024
1 parent a1c7df4 commit ab0cbf6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ git config --local --list
```
*Please note we do not use `--global` since no global settings are saved in this Environment.

For personal access token projects, configure a persistent git configuration. Use this code in a Bash script or Bash notebook and run once after staring a new environment. Note the use of double quotes.
For personal access token projects, configure a persistent git configuration. Use this code in a `setup.sh` bash script or bash notebook and run once after staring a new environment. Note the use of double quotes.
```bash
#!/bin/bash
ln -sfv ~/work/.gitconfig ~/
Expand All @@ -193,3 +193,14 @@ Check the status of your project with the remote repository. In a terminal run:
git fetch
git status
```

R Configuration:

R packages must be installed every time the environment is started, to do this a `setup.R` script or a R Markdown document must be run with the following:

```r
options(repos = list(CRAN="http://cran.rstudio.com/"))
install.packages(c("tidyverse", "lubridate", "ratdat"))
install.packages("ggplot2")
```

0 comments on commit ab0cbf6

Please sign in to comment.