Skip to content

Commit

Permalink
Merge pull request #513 from andrjohns/feature/readme_makeflags
Browse files Browse the repository at this point in the history
Reduce recommended cores for makeflags during install
jgabry authored May 7, 2021
2 parents 54ca98d + 1d621f4 commit ef08f58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -220,7 +220,9 @@ Once **rstan** is successfully installed, you can install **rstanarm** from
GitHub using the **remotes** package by executing the following in R:

```r
Sys.setenv(MAKEFLAGS = "-j4") # change 4 to however many cores you can/want to use to parallelize install
# Change 2 to however many cores you can/want to use to parallelize install
# If you experience crashes or run out RAM during installation, try changing this to 1
Sys.setenv(MAKEFLAGS = "-j2")
Sys.setenv("R_REMOTES_NO_ERRORS_FROM_WARNINGS" = "true")
remotes::install_github("stan-dev/rstanarm", INSTALL_opts = "--no-multiarch", force = TRUE)
```

0 comments on commit ef08f58

Please sign in to comment.