From a8e9f541a2796bbb11d0ceb66fddac22c71b2ac7 Mon Sep 17 00:00:00 2001
From: Aretha Foo <pfoo@ed.ac.uk>
Date: Wed, 5 Mar 2025 14:27:46 +0000
Subject: [PATCH] Editted both notebooks to remove the set working directory
 command. It is no longer needed to work on the exercises since they are
 cloned from gitlab and opened in a project space. Working directory is
 automatically set.

---
 RBeginnersExercise2.Rmd     | 6 +-----
 RBeginnersExercise2_Sol.Rmd | 6 +-----
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/RBeginnersExercise2.Rmd b/RBeginnersExercise2.Rmd
index d39f9b7..d426d64 100644
--- a/RBeginnersExercise2.Rmd
+++ b/RBeginnersExercise2.Rmd
@@ -24,11 +24,7 @@ R supports importing datasets from a range of file types. Some common file types
 
 -   Through command *(more information regarding this method can be found in the [R documentation](https://cran.r-project.org/doc/manuals/R-data.html#XML))*
 
-To import data through command, first set working directory to the folder where your data files are stored.
-
-```{r}
-setwd("~/IntroductionToR_P2_ExerciseNotebook")
-```
+*\* To import data through command, you will have to first set working directory to the folder where your data files are stored. However, since this notebook is cloned from GitLab and is opened in a project space, you can skip this step.*
 
 ## 2.1.1 Import from CSV file
 
diff --git a/RBeginnersExercise2_Sol.Rmd b/RBeginnersExercise2_Sol.Rmd
index 6014aa8..132e14b 100644
--- a/RBeginnersExercise2_Sol.Rmd
+++ b/RBeginnersExercise2_Sol.Rmd
@@ -24,11 +24,7 @@ R supports importing datasets from a range of file types. Some common file types
 
 -   Through command *(more information regarding this method can be found in the [R documentation](https://cran.r-project.org/doc/manuals/R-data.html#XML))*
 
-To import data through command, first set working directory to the folder where your data files are stored.
-
-```{r eval = FALSE}
-setwd("~/IntroductionToR_P2_ExerciseNotebook_Sol")
-```
+*\* To import data through command, you will have to first set working directory to the folder where your data files are stored. However, since this notebook is cloned from GitLab and is opened in a project space, you can skip this step.*
 
 ## 2.1.1 Import from CSV file
 
-- 
GitLab