

Scenario: You're at university, and you've just started your second semester. If I wanted to create a folder called new-folder , I would run: mkdir new-folder mkdir is short for "make directory." Specify the name of the directory (folder) you want to create just after it. Use the command mkdir to create a directory. How does one go about creating a folder in Terminal? Time for a new command! mkdir If you want to get more into programming! However, there are advantages to doing this via the terminal, especially Yes, you could just do this via Finder or whatever tool you use to browse and create files now. Questions? Comments? Alternative solutions? Please email the package author.It's now time to create a folder within your system. Note though these may not by the most recent versions of the packages, and they may or may not work with the most recent version of R.
#LINEIN DOWNLOAD MAC MAC#
If installing from source didn't work, some nice person at the University of Oxford has created Mac binaries for rgeos and rgdal. with-proj-lib=/Library/Frameworks/amework/unix/lib' with-proj-include=/Library/Frameworks/amework/Headers

#LINEIN DOWNLOAD MAC INSTALL#
R CMD INSTALL / path-to-downloads/rgdal_0. -configure-args='-with-gdal-config=/Library/Frameworks/amework/Programs/gdal-config
#LINEIN DOWNLOAD MAC SOFTWARE#
Problems installing gdal? You can also install gdal using MacPorts, which is a Mac utility you can download that allows you to install open source software using a command line (in Terminal). If you didn't already do it above, download and install the GDAL Complete frameworks for MacOS X from.Remember that rgdal is only needed if you plan on displaying GIS files in your plots. The steps for installing gdal and rgdal are very similar to the ones above. See if it worked by typing into R: require(rgeos) ** testing if installed package can be loaded If it worked, you should see some compiling going on, ending with: If the above command doesn't work, try just 'R64' instead of 'R'.You can get the path of a file by selecting it in Finder and pressing command+I (Info window). For example for me, the path was /Users/andy/Downloads/rgeos_0. Replace /path-to-rgeos/rgeos_ to point towards the directory and filename of the actual rgeos tarball you downloaded in step 2.R CMD INSTALL / path-to-rgeos/rgeos_ -configure-args='-with-geos-config=/Library/Frameworks/amework/unix/bin/geos-config' Type the following command (modified as described below) in Terminal: Open Terminal on your Mac (its usually found in Applications -> Utilities).If Safari automatically decompressed it without asking you, try to ctrl+click on the link and save it to your downloads folder. You should see a *.tar.gz file in your downloads folder.


If you are using OS X Mavericks or later, there may not be binary versions of rgeos or rdgal on CRAN. rdgal is a suggested package, because it contains functions for importing GIS data (which can be displayed in plots). The rgeos package contains functions to union polygons together (amongst others), and is a dependent (i.e. T-LoCoH - Installing rgeos and rgdal on a Mac
