Skip to content

Commit

Permalink
changing second book title
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalab committed Apr 20, 2024
1 parent f9291b6 commit 0f85dbe
Show file tree
Hide file tree
Showing 50 changed files with 293 additions and 109 deletions.
6 changes: 5 additions & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Page not found | Introduction to Data Science</title>
<meta name="description" content="This book introduces concepts and skills that can help you tackle real-world data analysis challenges. It covers concepts from probability, statistical inference, linear regression and machine learning and helps you develop skills such as R programming, data wrangling with dplyr, data visualization with ggplot2, file organization with UNIX/Linux shell, version control with GitHub, and reproducible document preparation with R markdown." />
<meta name="generator" content="bookdown 0.33 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.39 and GitBook 2.6.7" />

<meta property="og:title" content="Page not found | Introduction to Data Science" />
<meta property="og:type" content="book" />
Expand Down Expand Up @@ -120,6 +120,10 @@
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
</style>

<style type="text/css">

div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
</style>

<link rel="stylesheet" href="style.css" type="text/css" />
</head>
Expand Down
30 changes: 17 additions & 13 deletions docs/accessing-the-terminal-and-installing-git.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Chapter 37 Accessing the terminal and installing Git | Introduction to Data Science</title>
<meta name="description" content="This book introduces concepts and skills that can help you tackle real-world data analysis challenges. It covers concepts from probability, statistical inference, linear regression and machine learning and helps you develop skills such as R programming, data wrangling with dplyr, data visualization with ggplot2, file organization with UNIX/Linux shell, version control with GitHub, and reproducible document preparation with R markdown." />
<meta name="generator" content="bookdown 0.33 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.39 and GitBook 2.6.7" />

<meta property="og:title" content="Chapter 37 Accessing the terminal and installing Git | Introduction to Data Science" />
<meta property="og:type" content="book" />
Expand Down Expand Up @@ -120,6 +120,10 @@
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
</style>

<style type="text/css">

div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
</style>

<link rel="stylesheet" href="style.css" type="text/css" />
</head>
Expand Down Expand Up @@ -1067,7 +1071,7 @@ <h1><span class="header-section-number">Chapter 37</span> Accessing the terminal
<div id="terminal-on-mac" class="section level2 hasAnchor" number="37.1">
<h2><span class="header-section-number">37.1</span> Accessing the terminal on a Mac<a href="accessing-the-terminal-and-installing-git.html#terminal-on-mac" class="anchor-section" aria-label="Anchor link to header"></a></h2>
<p>In Chapter <a href="unix.html#unix">38</a> we describe how the terminal is our window into the Unix world. On a Mac you can access a terminal by opening the application in the Utilities folder:</p>
<p><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-10.35.44-AM.png" width="45%" style="display: block; margin-left: auto; margin-right: auto; background-color: #000; padding:3px;" style="display: block; margin: auto;" /><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-10.36.29-AM.png" width="45%" style="display: block; margin-left: auto; margin-right: auto; background-color: #000; padding:3px;" style="display: block; margin: auto;" /><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-10.36.48-AM.png" width="45%" style="display: block; margin-left: auto; margin-right: auto; background-color: #000; padding:3px;" style="display: block; margin: auto;" /></p>
<p><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-10.35.44-AM.png" width="45%" style="display: block; margin: auto;" /><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-10.36.29-AM.png" width="45%" style="display: block; margin: auto;" /><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-10.36.48-AM.png" width="45%" style="display: block; margin: auto;" /></p>
<p>You can also use the Spotlight feature on the Mac by typing command-spacebar, then type <em>Terminal</em>.</p>
<p>Yet another way to access the terminal is from RStudio. In the <em>Console</em> pane you should see a <em>Terminal</em> tab. If you click on this tab you will open a terminal window.</p>
</div>
Expand All @@ -1078,23 +1082,23 @@ <h2><span class="header-section-number">37.2</span> Installing Git on the Mac<a
<li><p>Start by opening a terminal as described in the previous section.</p></li>
<li><p>Once you start the terminal, you will see a console like this:</p></li>
</ol>
<p><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-10.36.48-AM.png" width="500px" style="display: block; margin-left: auto; margin-right: auto; background-color: #000; padding:3px;" style="display: block; margin: auto;" /></p>
<p><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-10.36.48-AM.png" width="70%" style="display: block; margin: auto;" /></p>
<ol start="3" style="list-style-type: decimal">
<li>You might have Git installed already. One way to check is by asking for the version by typing:</li>
</ol>
<div class="sourceCode" id="cb1400"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb1400-1"><a href="accessing-the-terminal-and-installing-git.html#cb1400-1" tabindex="-1"></a><span class="fu">git</span> <span class="at">--version</span></span></code></pre></div>
<p>If you get a version number back, it is already installed. If not, you will get the following message:</p>
<p><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-10.39.31-AM.png" width="500px" style="display: block; margin-left: auto; margin-right: auto; background-color: #000; padding:3px;" style="display: block; margin: auto;" /></p>
<p><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-10.39.31-AM.png" width="70%" style="display: block; margin: auto;" /></p>
<p>and you will be asked if you want to install it. You should click <em>Install</em>:</p>
<p><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-10.39.44-AM.png" width="500px" style="display: block; margin-left: auto; margin-right: auto; background-color: #000; padding:3px;" style="display: block; margin: auto;" /></p>
<p><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-10.39.44-AM.png" width="70%" style="display: block; margin: auto;" /></p>
<ol start="4" style="list-style-type: decimal">
<li>This will take you through the installation process:</li>
</ol>
<p><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-10.40.09-AM.png" width="45%" style="display: block; margin: auto;" /><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-10.40.15-AM.png" width="45%" style="display: block; margin: auto;" /><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-11.10.29-AM.png" width="45%" style="display: block; margin: auto;" /></p>
<ol start="5" style="list-style-type: decimal">
<li>Once installed, you can check for the version again and it should show you something like this:</li>
</ol>
<p><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-11.10.47-AM.png" width="500px" style="display: block; margin-left: auto; margin-right: auto; background-color: #000; padding:3px;" style="display: block; margin: auto;" /></p>
<p><img src="productivity/img/mac-screenshots/Screen-Shot-2018-04-11-at-11.10.47-AM.png" width="70%" style="display: block; margin: auto;" /></p>
<p>Congratulations. You have installed Git on your Mac.</p>
</div>
<div id="installing-git-and-git-bash-on-windows" class="section level2 hasAnchor" number="37.3">
Expand All @@ -1104,23 +1108,23 @@ <h2><span class="header-section-number">37.3</span> Installing Git and Git Bash
<ol style="list-style-type: decimal">
<li>Start by searching for <em>Git for Windows</em> on your browser and clicking on the link from <em>git-scm.com</em>.</li>
</ol>
<p><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_09_31_15.png" width="500px" style="display: block; margin-left: auto; margin-right: auto; background-color: #000; padding:3px;" style="display: block; margin: auto;" /></p>
<p><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_09_31_15.png" width="70%" style="display: block; margin: auto;" /></p>
<ol start="2" style="list-style-type: decimal">
<li>This will take you to the <em>Download Git</em> page from which you can download the <em>most recent maintained build</em>:</li>
</ol>
<p><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_09_31_45.png" width="500px" style="display: block; margin-left: auto; margin-right: auto; background-color: #000; padding:3px;" style="display: block; margin: auto;" /></p>
<p><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_09_31_45.png" width="70%" style="display: block; margin: auto;" /></p>
<ol start="3" style="list-style-type: decimal">
<li>You can then accept to run the installer and agree to the license:</li>
</ol>
<p><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_09_32_01.png" width="45%" style="display: block; margin: auto;" /><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_09_32_10.png" width="45%" style="display: block; margin: auto;" /></p>
<ol start="4" style="list-style-type: decimal">
<li>In one of the installation steps, you will be asked to pick the default editor for Git. Unless you are already a <em>vi</em> or <em>vim</em> user, we recommend against selecting <em>vim</em> which might be the default. If you do not recognize an editor you are familiar with among the options given, we recommend that you select <em>nano</em> as your default editor for Git since it is the easiest to learn:</li>
</ol>
<p><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_09_32_55.png" width="500px" style="display: block; margin-left: auto; margin-right: auto; background-color: #000; padding:3px;" style="display: block; margin: auto;" /></p>
<p><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_09_32_55.png" width="70%" style="display: block; margin: auto;" /></p>
<ol start="5" style="list-style-type: decimal">
<li>The next installation decision is actually an <strong>important one</strong>. This installation process installs Git Bash. We recommend that you select <em>Git and optional Unix tools from the Windows Command Prompt</em> as this will permit you to learn Unix from within RStudio. However, if you do this, <strong>some commands that run on your Windows command line will stop working</strong>. If you do not use your Windows command line, then this should not be a problem. Also, most, if not all, of these Windows command lines have a Unix equivalent that you will be able to use now.</li>
</ol>
<p><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_09_34_52.png" width="500px" style="display: block; margin-left: auto; margin-right: auto; background-color: #000; padding:3px;" style="display: block; margin: auto;" /></p>
<p><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_09_34_52.png" width="70%" style="display: block; margin: auto;" /></p>
<ol start="6" style="list-style-type: decimal">
<li>You can now continue selecting the default options.</li>
</ol>
Expand All @@ -1132,11 +1136,11 @@ <h2><span class="header-section-number">37.3</span> Installing Git and Git Bash
<h2><span class="header-section-number">37.4</span> Accessing the terminal on Windows<a href="accessing-the-terminal-and-installing-git.html#terminal-on-windows" class="anchor-section" aria-label="Anchor link to header"></a></h2>
<p>Now that Git Bash is installed, we can access the terminal either through RStudio or by opening Git Bash directly.</p>
<p>To access the terminal through RStudio, we need to change a preference so that Git Bash becomes the default Unix shell in RStudio. In RStudio, go to preferences (under the File pull down menu), then select <em>Terminal</em>, then select <em>Git Bash</em>:</p>
<p><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_09_38_00.png" width="500px" style="display: block; margin-left: auto; margin-right: auto; background-color: #000; padding:3px;" style="display: block; margin: auto;" /></p>
<p><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_09_38_00.png" width="70%" style="display: block; margin: auto;" /></p>
<p>To check that you in fact are using Git Bash in RStudio, you can open a <em>New Terminal</em> in RStudio:</p>
<p><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_10_49_44.png" width="500px" style="display: block; margin-left: auto; margin-right: auto; background-color: #000; padding:3px;" style="display: block; margin: auto;" /></p>
<p><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_10_49_44.png" width="70%" style="display: block; margin: auto;" /></p>
<p>It should look something like this:</p>
<p><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_10_49_51.png" width="500px" style="display: block; margin-left: auto; margin-right: auto; background-color: #000; padding:3px;" style="display: block; margin: auto;" /></p>
<p><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_10_49_51.png" width="70%" style="display: block; margin: auto;" /></p>
<p>Often we want access to the terminal, but do not need RStudio. You can do this by running the Git Bash program directly:</p>
<p><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_14_53_10.png" width="45%" style="display: block; margin: auto;" /><img src="productivity/img/windows-screenshots/VirtualBox_Windows-7-Enterprise_23_03_2018_14_53_12.png" width="45%" style="display: block; margin: auto;" /></p>

Expand Down
6 changes: 5 additions & 1 deletion docs/acknowledgments.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Acknowledgments | Introduction to Data Science</title>
<meta name="description" content="This book introduces concepts and skills that can help you tackle real-world data analysis challenges. It covers concepts from probability, statistical inference, linear regression and machine learning and helps you develop skills such as R programming, data wrangling with dplyr, data visualization with ggplot2, file organization with UNIX/Linux shell, version control with GitHub, and reproducible document preparation with R markdown." />
<meta name="generator" content="bookdown 0.33 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.39 and GitBook 2.6.7" />

<meta property="og:title" content="Acknowledgments | Introduction to Data Science" />
<meta property="og:type" content="book" />
Expand Down Expand Up @@ -120,6 +120,10 @@
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
</style>

<style type="text/css">

div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
</style>

<link rel="stylesheet" href="style.css" type="text/css" />
</head>
Expand Down
6 changes: 5 additions & 1 deletion docs/association-is-not-causation.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Chapter 19 Association is not causation | Introduction to Data Science</title>
<meta name="description" content="This book introduces concepts and skills that can help you tackle real-world data analysis challenges. It covers concepts from probability, statistical inference, linear regression and machine learning and helps you develop skills such as R programming, data wrangling with dplyr, data visualization with ggplot2, file organization with UNIX/Linux shell, version control with GitHub, and reproducible document preparation with R markdown." />
<meta name="generator" content="bookdown 0.33 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.39 and GitBook 2.6.7" />

<meta property="og:title" content="Chapter 19 Association is not causation | Introduction to Data Science" />
<meta property="og:type" content="book" />
Expand Down Expand Up @@ -120,6 +120,10 @@
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
</style>

<style type="text/css">

div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
</style>

<link rel="stylesheet" href="style.css" type="text/css" />
</head>
Expand Down
6 changes: 5 additions & 1 deletion docs/caret.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Chapter 30 The caret package | Introduction to Data Science</title>
<meta name="description" content="This book introduces concepts and skills that can help you tackle real-world data analysis challenges. It covers concepts from probability, statistical inference, linear regression and machine learning and helps you develop skills such as R programming, data wrangling with dplyr, data visualization with ggplot2, file organization with UNIX/Linux shell, version control with GitHub, and reproducible document preparation with R markdown." />
<meta name="generator" content="bookdown 0.33 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.39 and GitBook 2.6.7" />

<meta property="og:title" content="Chapter 30 The caret package | Introduction to Data Science" />
<meta property="og:type" content="book" />
Expand Down Expand Up @@ -120,6 +120,10 @@
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
</style>

<style type="text/css">

div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
</style>

<link rel="stylesheet" href="style.css" type="text/css" />
</head>
Expand Down
6 changes: 5 additions & 1 deletion docs/clustering.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Chapter 34 Clustering | Introduction to Data Science</title>
<meta name="description" content="This book introduces concepts and skills that can help you tackle real-world data analysis challenges. It covers concepts from probability, statistical inference, linear regression and machine learning and helps you develop skills such as R programming, data wrangling with dplyr, data visualization with ggplot2, file organization with UNIX/Linux shell, version control with GitHub, and reproducible document preparation with R markdown." />
<meta name="generator" content="bookdown 0.33 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.39 and GitBook 2.6.7" />

<meta property="og:title" content="Chapter 34 Clustering | Introduction to Data Science" />
<meta property="og:type" content="book" />
Expand Down Expand Up @@ -120,6 +120,10 @@
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
</style>

<style type="text/css">

div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
</style>

<link rel="stylesheet" href="style.css" type="text/css" />
</head>
Expand Down
Loading

0 comments on commit 0f85dbe

Please sign in to comment.