Skip to content

Commit

Permalink
add datacamp screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshowison committed Jan 31, 2024
1 parent 6aab04d commit a09b259
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/current/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
"href": "skills/git_basic_workflow.html#working-with-files-and-the-commandline-in-rstudio",
"title": "12  Git basic workflow",
"section": "12.2 Working with files and the commandline in Rstudio",
"text": "12.2 Working with files and the commandline in Rstudio\nGoal of this step: get familiar with basic Linux command lines: ls, cd, mkdirand touch.\nLog in to the R studio. The interface is shown like below.\nType ls in the terminal. It will list the files and directories in a specified directory or the current working directory if no directory is specified.\n\nType mkdir air_plane_exercise in the terminal. It will create a new directory with a specified name in the file system.\n\nType ls in the terminal to check the files and directories in current working directory.\n\nType cd air_plane_exercise in the terminal to change the current working directory to air_plane_exercise folder.\n\nType touch instructions.txt in the terminal to create a new text file named “instructions” inside the air_plane_exercise folder. You can type ls to check the updated files and folders.\n\nNow go to the files explorer, double click the “air_plane_exercise” folder and then enter the “instructions.txt”. Enter something in the text editor. Save the file."
"text": "12.2 Working with files and the commandline in Rstudio\nGoal of this step: get familiar with basic Linux command lines: ls, cd, mkdirand touch.\nLog in to the DataCamp interface. Go to the Workspaces section. We will be using the terminal in DataCamp.\n\nYou get to the terminal through the Run menu:\n\nSome of the images below are of a terminal in a different application (Rstudio). The git commands and output are the same.\nType ls in the terminal. It will list the files and directories in a specified directory or the current working directory if no directory is specified.\n\nType mkdir air_plane_exercise in the terminal. It will create a new directory with a specified name in the file system.\n\nType ls in the terminal to check the files and directories in current working directory.\n\nType cd air_plane_exercise in the terminal to change the current working directory to air_plane_exercise folder.\n\nType touch instructions.txt in the terminal to create a new text file named “instructions” inside the air_plane_exercise folder. You can type ls to check the updated files and folders."
},
{
"objectID": "skills/git_basic_workflow.html#creating-a-git-repo",
Expand Down
7 changes: 5 additions & 2 deletions docs/current/skills/git_basic_workflow.html
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,11 @@ <h2 data-number="12.1" class="anchored" data-anchor-id="overview"><span class="h
<section id="working-with-files-and-the-commandline-in-rstudio" class="level2" data-number="12.2">
<h2 data-number="12.2" class="anchored" data-anchor-id="working-with-files-and-the-commandline-in-rstudio"><span class="header-section-number">12.2</span> Working with files and the commandline in Rstudio</h2>
<p>Goal of this step: get familiar with basic Linux command lines: <code>ls</code>, <code>cd</code>, <code>mkdir</code>and <code>touch</code>.</p>
<p>Log in to the R studio. The interface is shown like below.</p>
<p>Log in to the DataCamp interface. Go to the Workspaces section. We will be using the terminal in DataCamp.</p>
<p><img src="git_basic_workflow_files/datacamp_createworkspace.png" class="img-fluid"></p>
<p>You get to the terminal through the <em>Run</em> menu:</p>
<p><img src="git_basic_workflow_files/datacamp_run_menu.png" class="img-fluid"></p>
<p>Some of the images below are of a terminal in a different application (Rstudio). The git commands and output are the same.</p>
<p>Type <code>ls</code> in the terminal. It will list the files and directories in a specified directory or the current working directory if no directory is specified.</p>
<p><img src="images/s1_0.png" class="img-fluid"></p>
<p>Type <code>mkdir air_plane_exercise</code> in the terminal. It will create a new directory with a specified name in the file system.</p>
Expand All @@ -356,7 +360,6 @@ <h2 data-number="12.2" class="anchored" data-anchor-id="working-with-files-and-t
<p><img src="images/s1_3.png" class="img-fluid"></p>
<p>Type <code>touch instructions.txt</code> in the terminal to create a new text file named “instructions” inside the air_plane_exercise folder. You can type <code>ls</code> to check the updated files and folders.</p>
<p><img src="images/s1_4.png" class="img-fluid"></p>
<p>Now go to the files explorer, double click the “air_plane_exercise” folder and then enter the “instructions.txt”. Enter something in the text editor. Save the file. <img src="images/s1_5.png" class="img-fluid"></p>
</section>
<section id="creating-a-git-repo" class="level2" data-number="12.3">
<h2 data-number="12.3" class="anchored" data-anchor-id="creating-a-git-repo"><span class="header-section-number">12.3</span> Creating a git repo,</h2>
Expand Down
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.
12 changes: 9 additions & 3 deletions quarto_course/skills/git_basic_workflow.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@ Once we are able to move around in the shell, create files and directories, then

Goal of this step: get familiar with basic Linux command lines: `ls`, `cd`, `mkdir`and `touch`.

Log in to the R studio. The interface is shown like below.
Log in to the DataCamp interface. Go to the Workspaces section. We will be using the terminal in DataCamp.

![](git_basic_workflow_files/datacamp_createworkspace.png)

You get to the terminal through the *Run* menu:

![](git_basic_workflow_files/datacamp_run_menu.png)

Some of the images below are of a terminal in a different application (Rstudio). The git commands and output are the same.

Type `ls` in the terminal. It will list the files and directories in a specified directory or the current working directory if no directory is specified.

Expand All @@ -39,8 +47,6 @@ Type `touch instructions.txt` in the terminal to create a new text file named "i

![](images/s1_4.png)

Now go to the files explorer, double click the "air_plane_exercise" folder and then enter the "instructions.txt". Enter something in the text editor. Save the file. ![](images/s1_5.png)

## Creating a git repo,

Goal of this step: learn git init.
Expand Down
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.

0 comments on commit a09b259

Please sign in to comment.