Skip to content

Error installing rgdal on MacOS #6

@YanCheng-go

Description

@YanCheng-go

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions