install.packages(c(
"tidyverse",
"sf",
"kernlab",
"ggrepel",
"osrm",
"remotes",
"CARBayes",
"mapview",
"scales",
"ggsci",
"remotes"
))
Setup instructions
Welcome to the Brunei R User Group Meetup entitled “Analysing spatial data using R”. Prior to attending the event, please ensure you have done the following.
Install R and RStudio from https://posit.co/download/rstudio-desktop/.
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/
Install the following R packages by running the following code in the RStudio console:
Install the
{bruneimap}
package by running the following code in the RStudio console.::install_github("propertypricebn/bruneimap") remotes
Download the material for this workshop by cloning the GitHub repo or downloading the zip file. Unzip the file (or clone the repo) onto a convenient location on your computer.
Click on
brm-spatial.Rproj
to open the project in RStudio.
Ready to rock and roll! 🎸
Addendum
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/.
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.