Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing rgdal on MacOS #6

Open
YanCheng-go opened this issue Sep 10, 2021 · 0 comments
Open

Error installing rgdal on MacOS #6

YanCheng-go opened this issue Sep 10, 2021 · 0 comments

Comments

@YanCheng-go
Copy link

Hi there,

A quick note on how I solved issues related to the installation of rgdal as a dependency of xROI on MacOS.

I encountered the following issues while installing xROI:
(1) configure: error: gdal-config not found or not executable;
(2) configure: error: API to be used not found.

To solve these issues, I conducted the following steps in sequence,
(1) install gdal through homebrew by running 'brew install gdal' (without quotation marks) in terminal
(2) update rstudio and r to the latest version. In my case it is R 4.4.1 and R Studio 1.4.1717
(3) install.packages('rf')
(4) install.packages('rgdal')

Hope this is helpful :)

Cheers,
Yan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant