Skip to content

Commit

Permalink
Add ggsci to packages to install
Browse files Browse the repository at this point in the history
  • Loading branch information
haziqj committed Mar 3, 2024
1 parent a56325f commit 1e276a4
Showing 1 changed file with 43 additions and 43 deletions.
86 changes: 43 additions & 43 deletions posts/setup-brm-spatial/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,55 +7,55 @@ author: Haziq Jamil

# Setup instructions

Welcome to the Brunei R User Group Meetup entitled "[Analysing spatial data using R](../../../events/2024-09-09-spatial)".
Prior to attending the event, please ensure you have done the following.

1. Install R **and** RStudio from [https://posit.co/download/rstudio-desktop/](https://posit.co/download/rstudio-desktop/).

![](install_r.png)

Note: These are two different things, so please ensure you have installed both of them. Tak a look also at [https://bruneir.github.io/posts/welcome/](https://bruneir.github.io/posts/welcome/)
2. Install the following R packages by running the following code in the RStudio console:

```{r}
#| eval: false
#| code-fold: false
install.packages(c(
"tidyverse",
"sf",
"kernlab",
"ggrepel",
"osrm",
"remotes",
"CARBayes",
"mapview",
"scales"
))
```
3. Install the `{bruneimap}` package by running the following code in the RStudio console.

```{r}
#| eval: false
#| code-fold: false
remotes::install_github("propertypricebn/bruneimap")
```

4. Download the material for this workshop by cloning the [GitHub repo](https://github.com/bruneir/brm-spatial/) or downloading the zip file. Unzip the file (or clone the repo) onto a convenient location on your computer.

![](download_github.png)

5. Click on `brm-spatial.Rproj` to open the project in RStudio.
Welcome to the Brunei R User Group Meetup entitled "[Analysing spatial data using R](../../../events/2024-09-09-spatial)". Prior to attending the event, please ensure you have done the following.

1. Install R **and** RStudio from <https://posit.co/download/rstudio-desktop/>.

![](install_r.png)

Note: These are two different things, so please ensure you have installed both of them. Tak a look also at <https://bruneir.github.io/posts/welcome/>

2. Install the following R packages by running the following code in the RStudio console:

```{r}
#| eval: false
#| code-fold: false
install.packages(c(
"tidyverse",
"sf",
"kernlab",
"ggrepel",
"osrm",
"remotes",
"CARBayes",
"mapview",
"scales",
"ggsci"
))
```

3. Install the `{bruneimap}` package by running the following code in the RStudio console.

```{r}
#| eval: false
#| code-fold: false
remotes::install_github("propertypricebn/bruneimap")
```

4. Download the material for this workshop by cloning the [GitHub repo](https://github.com/bruneir/brm-spatial/) or downloading the zip file. Unzip the file (or clone the repo) onto a convenient location on your computer.

![](download_github.png)

5. Click on `brm-spatial.Rproj` to open the project in RStudio.

# Ready to rock and roll! 🎸

<u>Addendum</u>

Depending on the OS you are using, you may need to install additional developer tools.

- For Windows users, you may need to install Rtools from [https://cran.r-project.org/bin/windows/Rtools/](https://cran.r-project.org/bin/windows/Rtools/).
- For Windows users, you may need to install Rtools from <https://cran.r-project.org/bin/windows/Rtools/>.

- For Mac users, you may need to install Xcode from the App Store (or see here [https://mac.r-project.org/tools/](https://mac.r-project.org/tools/)).
- For Mac users, you may need to install Xcode from the App Store (or see here <https://mac.r-project.org/tools/>).

- Linux users should be fine, as the necessary compiler tools are usually installed by default.
- Linux users should be fine, as the necessary compiler tools are usually installed by default.

0 comments on commit 1e276a4

Please sign in to comment.