官术网_书友最值得收藏!

Installing R

R is an open source programming language and software used for statistical computing and graphics, which has benefited greatly from the continuous contributions of its user community. Graphics in R are of very high quality, and, although it was not primarily developed for GIS purposes, with the development of packages such as ggmap, tmap, sf, raster, sp, and so on, R can work as a GIS environment itself. Furthermore, R codes can be written inside QGIS and we can also work on QGIS inside R using the RQGIS package.

We will now install R with the help of snapshots of each of the step-by-step instructions provided. The following steps have been implemented in Microsoft Windows and should also be applicable to Mac or other platforms with a little tweaking. There are no specific requirements for computer configuration, but any modern desktop or laptop will be sufficient to run the examples provided in this book.

Download R software from the following site and click on download Rhttps://www.r-project.org/.

Now we need to select a CRAN mirror; we will use the first link to download R.

Now we will need to click on Download R for Windows:

Click install R for the first timeas we can see from the following screenshot:

Now we just need to double-click the .exe file that we have downloaded and continue to click to accept all the defaults to complete the download of R. After we have installed R, we need to open it, and it will look similar to the following screenshot. For this installation process, a 64-bit computer is being used, but if you are using a 32-bit computer, your R windows will reflect that:

We are finally ready to rock and roll using R. But before that, we need a little bit more familiarity with R, or perhaps we need a refresher.

主站蜘蛛池模板: 廊坊市| 贵德县| 辽宁省| 滦平县| 田林县| 望奎县| 留坝县| 长垣县| 游戏| 南澳县| 关岭| 江都市| 太仓市| 出国| 溧水县| 剑阁县| 昭苏县| 赤城县| 九江市| 资中县| 从化市| 华坪县| 白银市| 内江市| 剑阁县| 平果县| 资中县| 肥乡县| 洛阳市| 凤凰县| 无为县| 衡水市| 柞水县| 綦江县| 永安市| 临潭县| 涪陵区| 当涂县| 左云县| 新田县| 阜新市|