Ex01 Geography 4/595: Geographic Data Analysis Winter 2018 Exercise 1: Getting and using R and RStudio Finish by Wednesday, January 17 1. Introduction The object of this exercise is to install and set up R and RStudio, and to experiment with some basic procedures. R is actually a computer language (that is quite similar to the S language for data analysis and visualization developed at AT&T's Bell Labs), but is best thought of as an 'environment' for producing both numerical and graphical analyses of data. R has several advantages for us here, because • it is 'open-source' software (which for our purposes means that it can be freely downloaded); • it is available for a number of different operating systems, including Windows, Linux, and Macintosh; • by itself is fairly powerful and is extensible (meaning that procedures for analyzing data that don't currently exist can be readily developed); • it has the capability for mapping data, an asset not generally available in other statistical software; and • it has multiple add-on 'packages' specifically designed for the analysis of spatial data. R has a fairly steep learning curve, which these exercises are designed to diminish. The home page for the 'R project' is at Both the Mac and Windows versions of R have their own built-in GUIs (Graphical User Interfaces), but they are a little idiosyncratic. RStudio () is a free and open-source environment for running R, and it looks and behaves virtually the same in both Windows and OS X or MacOS, and so it will be used throughout the course. Read through the following before beginning. Excel shortcuts on a mac. • When an object is selected, Ctrl+Shift+Spacebar selects all objects on a worksheet. Getting R R can be downloaded from one of the 'CRAN' (Comprehensive R Archive Network) sites. In the US, the main site is at To download R, go to a CRAN website, and look in the 'Download and Install R' area. Click on the appropriate link. Windows 10 (and 7 & 8) Note: Depending on the age of your computer and version of Windows, you may be running either a '32-bit' or '64-bit' version of the Windows operating system. If you have the 64-bit version (most likely), R will install the appropriate version (R x64 3.4.3) and will also (for backwards compatibility) install the 32-bit version (R i386 3.4.3). R-Studio for Mac is specially designed for Mac OS environment and recovers files from HFS/HFS+, FAT/NTFS, UFS1/UFS2 and Ext2FS/3FS/4FS partitions Top 4 Download periodically updates software information of R-Studio for Mac Data Recovery 3.0 full version from the publisher, but some. ![]() You can run either, but you will probably just want to run the 64-bit version. • On the 'R for Windows' page, for example, click on the 'base' link (which should take you to the 'Download R-3.4.3 for Windows' page, or you can click directly on this link: ). • On this page, click either on the 'base' or 'install R for the first time links'. • On the next page, click on 'Download R 3.4.3 for Windows' link, and save that file to your hard disk when prompted. Saving to the desktop is fine. • To begin the installation, double-click on the downloaded file, or open it from a downloads window. Don't be alarmed unknown publisher type warnings. Window's UAC (User Account Control) will also worry about an unidentified program wanting access to your computer. Click on 'Run'. • Select the proposed options in each part of the install dialog. When the 'Select Components' screen appears, just accept the standard choices Mac OS X (and MacOS Sierra) • On the 'R for Mac OS X' page (), there are multiple packages that could be downloaded, but the one you want is one of two topmost ones. If you are running Mavericks, Yosemite, El Capitan, or MacOS Sierra or High Sierra, download the R-3.4.3.pkg in the next step; if you are running an earlier version of OS X, download the R-3.3.1-snowleopard.pkg in the next step • To download the package click on the (e.g.) 'R-3.4.3.pkg (latest version)' link. • After the package finishes downloading, right-click in the downloads window of your browser, and click on 'Show in Finder' (or just look in the Downloads folder). This will open a new Finder window with the installer package.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |