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

Commit

Permalink
Refine project setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiddelkoop committed Jun 4, 2024
1 parent f4feb72 commit ba8df4c
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,25 @@
## Navigate R Studio and Setup Project

* Open RStudio
* Setup Git
* This needs to be done only once when you first use the environment.
* Click on the "Terminal"
* Run (note the quotes and replace with your information) the following in the terminal:
```bash
git config --global user.name "First Last"
git config --global user.email "first_last@skc.edu"
git config --global credential.helper store
git config --global core.editor nano
git config --global --list
```
* Create a new "New Project" in `~/work` with "Git"
* Note: Projects and data must be saved in `~/work` otherwise they will be lost.
* Select "Version Control" -> "Git"
* Repository URL: your "https" repository value (see instructions above)
* Project directory name: leave blank
* Create project as a subdirectory of: ~/work (click "Browse" to change)
* Click "Create Project"
* When prompted enter your user_name and use the newly created "personal access token" as the password.
* Turn off saving `.RData` in project (not workspace)
* It is not good to save data, especially in git.
* "Tools" -> "Project Options"
Expand All @@ -63,17 +75,6 @@
* Set "Save workspace to .RData on exit" to "No"
* Set "Always save history" to "No"
* Click "Ok"
* Setup Git
* This needs to be done only once when you first use the environment.
* Click on the "Terminal"
* Run (note the quotes and replace with your information) the following in the terminal:
```bash
git config --global user.name "First Last"
git config --global user.email "first_last@skc.edu"
git config --global credential.helper store
git config --global core.editor nano
git config --global --list
```
* Create a new "R Markdown" file
* "File" -> "New File" -> "R Markdown" -> Click "Create Empty Document" (bottom left button).
* Save file ("R-Ecology"):
Expand Down

0 comments on commit ba8df4c

Please sign in to comment.