G <- initGRASS(gisBase="/Applications/GRASS-7.4.4.app/Contents/Resources/", gisDbase="grassdata",location="nc_spm_08_grass7", mapset="PERMANENT",override=TRUE) Here is the sample code install.packages("rgrass7") #first time only next is using the rgrass7 packages in R studio so you can combine GRASS GIS with R That is the complete installation procedure. You can download the sample north carolina data from GRASS GIS website Before you can run GRASS-7.4.4 in your mac, you have to create a folder name “grassdata”, then open your terminal window, navigate to home.Īdd these line on your bash profile export PATHĮxport GRASS_PYTHON=/usr/local/bin/python2īack to Terminal and type. Install the GRASS and put it on your Application directory.Ħ. Press command+R when your pages started to blackĥ. restart your Mac in safemode and disable the csrutil I don’t know if this is necessary, but mine could only work after this step.Ĥ. Reinstall the python, directly from python website The installation of frameworks should be in sequence according to the list of frameworks given.ģ. Download from GRASS GIS website and its frameworks.Īfter the download, you should not install it directly, but first you have to download all the frameworks. I will guide some of the important issue here:ġ. By combining R studio and GRASS GIS you can easily do the statistical analysis by R and also execute the GRASS command for spatial data analysis.įirst my PC is Mac OS sierra… which is a bit more complicated when you try to install GRASS GIS for MAC.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |