Skip to content

Commit 5d6bb96

Browse files
polished setup
1 parent eff78a5 commit 5d6bb96

File tree

1 file changed

+31
-28
lines changed

1 file changed

+31
-28
lines changed

setup.Rmd

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Overview
44

5-
In this chapter, you'll learn how to install all of that software
5+
In this chapter, you'll learn how to install all of the software
66
needed to do the data science covered in this book on your own computer.
77

88
## Chapter learning objectives
@@ -16,14 +16,14 @@ By the end of the chapter, readers will be able to do the following:
1616
## Installing software on your own computer
1717

1818
This section will provide instructions for installing the software required by
19-
this book on our own computers.
19+
this book on your own computer.
2020
Given that installation instructions can vary widely based on the computer setup,
2121
we have created instructions for multiple operating systems.
2222
In particular, the installation instructions below have been verified to work
2323
on a computer that:
2424

2525
- runs one of the following operating systems: Ubuntu 20.04, macOS Big Sur (version 11.4.x or 11.5.x), Windows 10 Professional, Enterprise or Education (version 2004, 20H2, or 21H1),
26-
- can connect to networks via a wireless connection,
26+
- has a connection to the internet,
2727
- uses a 64-bit CPU,
2828
- uses English as the default language.
2929

@@ -58,9 +58,10 @@ sudo apt install git
5858

5959
### Miniconda
6060

61-
To run Jupyter notebooks on our computers,
62-
we will need to install the web-based platform JupyterLab.
63-
But JupyterLab relies on Python; we can install this via
61+
To run Jupyter notebooks on your computer,
62+
you will need to install the web-based platform JupyterLab.
63+
But JupyterLab relies on Python, so we need to install Python first.
64+
We can install Python via
6465
the \index{miniconda} [miniconda Python package distribution](https://docs.conda.io/en/latest/miniconda.html).
6566

6667
**Windows:** To install miniconda on Windows, download
@@ -74,28 +75,29 @@ When this opens, you will see a prompt similar to
7475
`(base) C:\Users\your_name`.
7576

7677
**MacOS:** To install miniconda on MacOS, you will need to use a different
77-
installation method depending on the type of processor chip your laptop has.
78+
installation method depending on the type of processor chip your computer has.
7879

79-
If your Mac laptop has an Intel x86 processor chip you can download
80+
If your Mac computer has an Intel x86 processor chip you can download
8081
the [latest Python 64-bit version from here](https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.pkg).
8182
After the download has finished, run the installer and accept the default
8283
configuration for all pages.
8384

84-
If your Mac laptop has an Apple M1 processor chip you can download
85+
If your Mac computer has an Apple M1 processor chip you can download
8586
the [latest Python 64-bit version from here](https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh).
86-
After the download has finished, you need to run the downloaded script in the terminal.
87-
Most laptops will save this to the `Downloads` folder. If this is the case for yours you can run the script in the terminal by typing:
87+
After the download has finished, you need to run the downloaded script in the terminal using a command
88+
like:
8889

8990
```
9091
bash path/to/Miniconda3-latest-MacOSX-arm64.sh
9192
```
9293

93-
> **Note:** Most often, this file is downloaded to the Downloads directory,
94-
and thus the command will look like this:
95-
>
96-
> ```
97-
> bash Downloads/Miniconda3-latest-MacOSX-arm64.sh
98-
> ```
94+
Make sure to replace `path/to/` with the path of the folder
95+
containing the downloaded script. Most computers will save downloaded files to the `Downloads` folder.
96+
If this is the case for your computer, you can run the script in the terminal by typing:
97+
98+
```
99+
bash Downloads/Miniconda3-latest-MacOSX-arm64.sh
100+
```
99101

100102
The instructions for the installation will then appear:
101103

@@ -105,21 +107,22 @@ The instructions for the installation will then appear:
105107
(4) Press Enter to accept the default installation location.
106108
(5) Type `yes` and press enter to instruct the installer to run `conda init`, which makes `conda` available from the terminal.
107109

108-
**Ubuntu:** To install miniconda on Ubuntu, we first download
110+
**Ubuntu:** To install miniconda on Ubuntu, first download
109111
the [latest Python 64-bit version from here](https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh).
110112
After the download has finished, open the terminal and execute the following
111-
commands:
113+
command:
112114

113115
```
114116
bash path/to/Miniconda3-latest-Linux-x86_64.sh
115117
```
116118

117-
> **Note:** Most often, this file is downloaded to the Downloads directory,
118-
and thus the command will look like this:
119-
>
120-
> ```
121-
> bash Downloads/Miniconda3-latest-Linux-x86_64.sh
122-
> ```
119+
Make sure to replace `path/to/` with the path of the folder containing the downloaded
120+
script. Most often this file will be downloaded to the `Downloads` folder.
121+
If this is the case for your computer, you can run the script in the terminal by typing:
122+
123+
```
124+
bash Downloads/Miniconda3-latest-Linux-x86_64.sh
125+
```
123126

124127
The instructions for the installation will then appear:
125128

@@ -147,12 +150,12 @@ tab in your default browser with the JupyterLab interface. To exit out of
147150
JupyterLab you can click `File -> Shutdown`, or go to the terminal from which
148151
you launched JupyterLab, hold `Ctrl`, and press `C` twice.
149152

150-
To improve the experience of using R in JupyterLab, we will add an extension
151-
that allows us to set up keyboard shortcuts for inserting text.
153+
To improve the experience of using R in JupyterLab, you should also add an extension
154+
that allows you to set up keyboard shortcuts for inserting text.
152155
By default,
153156
this extension creates shortcuts for inserting two of the most common R
154157
operators: `<-` and `|>`. Type the following in the Anaconda Prompt (Windows)
155-
or terminal (MacOS and Ubuntu) and press enter:
158+
or terminal (MacOS and Ubuntu) and press enter:
156159

157160
```
158161
jupyter labextension install @techrah/text-shortcuts

0 commit comments

Comments
 (0)