-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
**Installation** on Mac OS #149
Comments
Here's another Mac installation problem.
I'm using R 3.4.3, on Mac OS High Sierra |
Depending on you install, you may have to do:
in your |
Could someone please explain exactly was is needed in order to solve the tmap crash on mac? I have tried many of the suggestions on this post (export DYLD on bash, edit bash, checking otool), unsuccessfully. As it is not clear what one should exactly do in order to solve tmap problem, I am clueless. As the example is related to mysql, it could be really helpful if someone posted the solution for this specifc problem. In order to reproduce error, any tm_ function on qtm() will crash R. But here is an example: Here is what I have tried: #2 - Run otools - but I dont know exactly what I was supposed to do with it. The example is on mysql #3 - Done the following on home directory My library path and system specification
locale: attached base packages: loaded via a namespace (and not attached): Thank you. |
I just understood part of what I am supposed to do with otool. I got the following result. Maybe someone can help me to figure out what to do now.
/Applications/RStudio.app/Contents/MacOS/RStudio: |
I am having an issue where I installed tmap for the first time on a Macbook Pro (MacOS 10.13.6) where it was not previously installed. I have many other geospatial packages including rgdal, sf, etc. installed. When I run
If I run R version info: |
I may have solved this issue by re-installing Rcpp. |
I too am having an issue when trying to install tmap from the GitHub repo. Any suggestions how to solve this? I had the tmap package from CRAN installed previously without deleting it. I'm running MacOS Catalina and latest versions of R and RStudio, if that helps. Thank you
|
That's likely needs a restart of R, assuming you're doing that in RStudio. Try to install from GitHub with no updates of other packages. |
That worked, thank you |
I am also having trouble installing
Then I tried to install terra and get this error message.
My R session info
|
I am really wondering about the step-by-step guidance in installing tmap for MacOS. I am using MacOS Monterey 12.3 and R version 4.2.1 Based on this guideline, to use tmap, installation for Mac & Linux users require additional (non-R) libraries (which are automatically installed for Windows users). In another post we would need to install some libraries: sp, rgdal, and raster with following steps:
Questions:
Warning in install.packages :
Any leads would be much appreciated! Thank you. |
The best process I have found is to user homebrew (https://brew.sh) to install all sorts of things including gdal. The directions at this link are pretty clear. Once you install it (needs to be from a terminal window), you can just type ‘brew install gdal’. If you go this route, you should periodically run ‘brew upgrade’ in a terminal window to get the latest versions. I do this every day about once a week or a month is probably fine.
I use the free version of RStudio to manage all my interactions with R. You can download it here - https://www.rstudio.com/products/rstudio/download/
In RStudio, under the tools menu choose Install Packages. In the popup window type “rgdal, tmap” and these packages will be added to your system automatically. This will get you the latest versions of these packages.
Then in the RStudio main window, these commands will load the packages.
library(rgdal)
library(tmap)
Gerald C. Nelson
Professor Emeritus, UIUC
+1 217-390-7888 (cell)
+1 970-639-2079 (land line)
Skype: jerrynelson
http://bit.ly/1arho7d
From: "Deviana W. Dewi" ***@***.***>
Reply-To: r-tmap/tmap ***@***.***>
Date: Thursday, August 18, 2022 at 1:43 PM
To: r-tmap/tmap ***@***.***>
Cc: Gerald Nelson ***@***.***>, Comment ***@***.***>
Subject: Re: [r-tmap/tmap] **Installation** on Mac OS (#149)
I am really wondering about the step-by-step guidance in installing tmap for MacOS. I am using MacOS Monterey 12.3 and R version 4.2.1
Based on this guideline<https://r-tmap.github.io/tmap/>, to use tmap, installation for Mac & Linux users require additional (non-R) libraries (which are automatically installed for Windows users). In another post<http://www.nickeubank.com/wp-content/uploads/2015/10/RGIS1_SpatialDataTypes_part0_setup.html> we would need to install some libraries: sp, rgdal, and raster with following steps:
* Download GDAL complete
* Download rgdal package
* Install raster and sp
Questions:
1. Is there any link to download the right version of rgdal for Mac? I have tried each version of rdgal: rgdal_1.2-16.tgz, rgdal_1.5-30.tgz and rgdal_1.5-32.tgz only with the same warning/error message:
Warning in install.packages :
package ‘~/Desktop/rgdal_1.5-30.tgz’ is not available for this version of R
1. Is there any link of step-by-step guidance in installing tmap for MacOS? I have installed tmap, but the tmap package still did not function.
Any leads would be much appreciated! Thank you.
—
Reply to this email directly, view it on GitHub<#149 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB6UJMUUHMJJZNJTE3N7E23VZ2G4XANCNFSM4ECTQMRA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Let's bundle all issues related to installation problems of Mac OS here. I would like to add an installation procedure to the homepage (README.md) and keep it up to date.
See also previous issues #120 #145, which I'll close.
The text was updated successfully, but these errors were encountered: