You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learners/setup.md
+24-8Lines changed: 24 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,21 +129,37 @@ We expect a message like the one below:
129
129
Your system is ready to build packages!
130
130
```
131
131
132
-
If the build tools are not available, this will trigger an automated install.
132
+
If the build tools are not available, this will trigger an automated install.
133
+
133
134
Wait until to get the expected output message.
134
-
We suggest to restart your R session or close and open back again RStudio to let it recognize this new installation.
135
+
We recommend restarting your R session, or closing and reopening RStudio, so that it can recognize the new installation.
135
136
136
-
::::::::::::::::::::::::::::: spoiler
137
+
If the automatic installation does not work, you can manually install them according to your operating system.
138
+
139
+
::::::::::::::::::::::::::::: tab
137
140
138
-
### What to do if this step does not work?
141
+
### Windows
139
142
140
-
Windows users will need a working installation of `Rtools` in order to build the package from source. `Rtools` is not an R package, but a software you need to download and install. We suggest you to follow:
143
+
Windows users will need a working installation of `Rtools` in order to build the package from source.
144
+
`Rtools` is not an R package, but a software you need to download and install.
145
+
We suggest you to follow:
141
146
142
147
-**Install `Rtools`**. Download the `Rtools` installer from <https://cran.r-project.org/bin/windows/Rtools/>. Install with default selections.
143
-
- Close and open back again RStudio to let it recognize this new installation.
148
+
- Close and reopen RStudio so it can recognize the new installation.
144
149
145
-
:::::::::::::::::::::::::::::
150
+
### Mac
151
+
152
+
Mac users require three steps as detailed in <https://github.com/stan-dev/rstan/wiki/Configuring-C---Toolchain-for-Mac>:
146
153
154
+
- Install R version 4.0.0 or later
155
+
- Use `macrtools` to setup the C++ toolchain
156
+
- Enable some compiler optimizations.
157
+
158
+
### Linux
159
+
160
+
Linux users require specific details per distribution. Find them in <https://github.com/stan-dev/rstan/wiki/Configuring-C-Toolchain-for-Linux>.
161
+
162
+
:::::::::::::::::::::::::::::
147
163
148
164
### 3. Install the required R packages
149
165
@@ -157,7 +173,7 @@ Open RStudio and **copy and paste** the following code chunk into the [console w
0 commit comments